From 46f3ed662db273ae394ea940e7585141575eab2f Mon Sep 17 00:00:00 2001 From: Brage Date: Thu, 5 Sep 2024 13:18:56 +0200 Subject: [PATCH] chore: add `ENVIRONMENT` env variable from arguments --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 47c28019f..5ab1fab75 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,8 @@ FROM node:20-alpine AS js-static +ARG ENVIRONMENT +ENV ENVIRONMENT=$ENVIRONMENT ENV APP_DIR=/srv/app ENV NODE_ENV=production