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