From 0ad03491fda9a8aa4cb19748bc35db47423e8492 Mon Sep 17 00:00:00 2001 From: Florian Hoss Date: Fri, 16 Jun 2023 13:34:16 +0200 Subject: [PATCH] Fix air --- docker-compose.yml | 2 +- docker/Dockerfile.dev | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index fc5e460..175d64a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,4 +13,4 @@ services: ports: - 4000:4000 volumes: - - ./src:/src/ + - ./:/app/ diff --git a/docker/Dockerfile.dev b/docker/Dockerfile.dev index 5b4c06f..d32b788 100644 --- a/docker/Dockerfile.dev +++ b/docker/Dockerfile.dev @@ -10,6 +10,7 @@ RUN go mod download # Air RUN go install github.com/cosmtrek/air@latest +COPY ./.air.toml . # Envs ENV VERSION=v0.0.1-dev