Fix: Dockerfile syntax
This commit is contained in:
parent
ce01bcc3d4
commit
0be66aab74
@ -1,7 +1,9 @@
|
|||||||
FROM golang:1.21.4
|
FROM golang:1.21.4
|
||||||
|
|
||||||
ARG DOCKER_ENV=production # Set default build-time value, not persisted in the container
|
# Set default build-time value, not persisted in the container
|
||||||
ENV DOCKER_ENV=${DOCKER_ENV} # Set runtime environment variable inside the container
|
ARG DOCKER_ENV=production
|
||||||
|
# Set runtime environment variable inside the container
|
||||||
|
ENV DOCKER_ENV=${DOCKER_ENV}
|
||||||
|
|
||||||
WORKDIR /code
|
WORKDIR /code
|
||||||
|
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
FROM golang:1.21.4
|
FROM golang:1.21.4
|
||||||
|
|
||||||
ARG DOCKER_ENV=production # Set default build-time value, not persisted in the container
|
# Set default build-time value, not persisted in the container
|
||||||
ENV DOCKER_ENV=${DOCKER_ENV} # Set runtime environment variable inside the container
|
ARG DOCKER_ENV=production
|
||||||
|
# Set runtime environment variable inside the container
|
||||||
|
ENV DOCKER_ENV=${DOCKER_ENV}
|
||||||
|
|
||||||
WORKDIR /code
|
WORKDIR /code
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user