From fb9f457b7960b84aa46c8a53933c62aecf139d3f Mon Sep 17 00:00:00 2001 From: orig Date: Sun, 10 Sep 2023 00:42:57 +0300 Subject: [PATCH] fix: args --- apps/frontend/Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/apps/frontend/Dockerfile b/apps/frontend/Dockerfile index d4b8af6f..36f00bdf 100644 --- a/apps/frontend/Dockerfile +++ b/apps/frontend/Dockerfile @@ -1,7 +1,3 @@ -ARG API_DOMAIN -ARG CLIENTSIDE_API_DOMAIN -ARG DOMAIN - # -------------------------------------------- # Dependencies Stage # -------------------------------------------- @@ -21,6 +17,12 @@ RUN npm ci # -------------------------------------------- # Intermediate docker image to build the bundle in and install dependencies FROM node:19.2-alpine3.15 as build + +# Arguments passed from docker-compose.yml / workflow +ARG API_DOMAIN +ARG CLIENTSIDE_API_DOMAIN +ARG DOMAIN + WORKDIR /app COPY . .