diff --git a/nginx-golang-mysql/.docker/docker-compose.yaml b/nginx-golang-mysql/.docker/docker-compose.yaml index 2b04dd0..d04af29 100644 --- a/nginx-golang-mysql/.docker/docker-compose.yaml +++ b/nginx-golang-mysql/.docker/docker-compose.yaml @@ -2,7 +2,7 @@ services: backend: build: context: backend - target: builder + target: dev-envs volumes: - /var/run/docker.sock:/var/run/docker.sock secrets: diff --git a/nginx-golang-mysql/backend/Dockerfile b/nginx-golang-mysql/backend/Dockerfile index 6f794aa..d6c3778 100755 --- a/nginx-golang-mysql/backend/Dockerfile +++ b/nginx-golang-mysql/backend/Dockerfile @@ -19,7 +19,7 @@ RUN --mount=type=cache,target=/go/pkg/mod/cache \ CMD ["/code/bin/backend"] -FROM builder as dev-envs +FROM builder AS dev-envs RUN <