nginx-golang-mysql: code review fixes
Co-authored-by: Guillaume Lours <guillaume@lours.me> Signed-off-by: Milas Bowman <milas.bowman@docker.com>
This commit is contained in:
parent
aa997c70ea
commit
aae8ffbdce
@ -2,7 +2,7 @@ services:
|
|||||||
backend:
|
backend:
|
||||||
build:
|
build:
|
||||||
context: backend
|
context: backend
|
||||||
target: builder
|
target: dev-envs
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
secrets:
|
secrets:
|
||||||
|
@ -19,7 +19,7 @@ RUN --mount=type=cache,target=/go/pkg/mod/cache \
|
|||||||
|
|
||||||
CMD ["/code/bin/backend"]
|
CMD ["/code/bin/backend"]
|
||||||
|
|
||||||
FROM builder as dev-envs
|
FROM builder AS dev-envs
|
||||||
|
|
||||||
RUN <<EOF
|
RUN <<EOF
|
||||||
apk update
|
apk update
|
||||||
|
Loading…
Reference in New Issue
Block a user