diff --git a/Dockerfile.bot b/Dockerfile.bot index c530297..7775aa2 100644 --- a/Dockerfile.bot +++ b/Dockerfile.bot @@ -1,7 +1,9 @@ FROM golang:1.21.4 -ARG DOCKER_ENV=production # Set default build-time value, not persisted in the container -ENV DOCKER_ENV=${DOCKER_ENV} # Set runtime environment variable inside the container +# Set default build-time value, not persisted in the container +ARG DOCKER_ENV=production +# Set runtime environment variable inside the container +ENV DOCKER_ENV=${DOCKER_ENV} WORKDIR /code diff --git a/Dockerfile.web b/Dockerfile.web index 784d7bc..9e87a66 100644 --- a/Dockerfile.web +++ b/Dockerfile.web @@ -1,7 +1,9 @@ FROM golang:1.21.4 -ARG DOCKER_ENV=production # Set default build-time value, not persisted in the container -ENV DOCKER_ENV=${DOCKER_ENV} # Set runtime environment variable inside the container +# Set default build-time value, not persisted in the container +ARG DOCKER_ENV=production +# Set runtime environment variable inside the container +ENV DOCKER_ENV=${DOCKER_ENV} WORKDIR /code