From 29bfa05ffb0a9f4653c88b750658a8872ac67503 Mon Sep 17 00:00:00 2001 From: Francisco Pessano Date: Sun, 18 Dec 2022 19:41:40 -0300 Subject: [PATCH] setting enviroments --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ce4f903..be01941 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,5 @@ FROM alpine:latest as build ARG REACT_APP_ENV_MODE -RUN echo "Oh dang look at that $some_variable_name" RUN apk add --update nodejs npm RUN npm install --global yarn @@ -10,7 +9,7 @@ COPY [".", "/usr/src"] WORKDIR "/usr/src" RUN yarn -RUN yarn build +RUN yarn build ${REACT_APP_ENV_MODE} FROM nginx:1.23.1-alpine EXPOSE 80