From 0be66aab743f41137ffb8a586af9d500e54d0c0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?O=CC=81scar=20M=2E=20Lage?= Date: Thu, 28 Nov 2024 23:01:05 +0100 Subject: [PATCH] Fix: Dockerfile syntax --- Dockerfile.bot | 6 ++++-- Dockerfile.web | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) 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