mirror of
https://github.com/FranP-code/Open-Telegram-to-Notion-Website.git
synced 2025-10-13 00:42:53 +00:00
setting enviroments
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
FROM alpine:latest as build
|
FROM alpine:latest as build
|
||||||
ARG REACT_APP_ENV_MODE
|
ARG REACT_APP_ENV_MODE
|
||||||
RUN echo "Oh dang look at that $some_variable_name"
|
|
||||||
|
|
||||||
RUN apk add --update nodejs npm
|
RUN apk add --update nodejs npm
|
||||||
RUN npm install --global yarn
|
RUN npm install --global yarn
|
||||||
@@ -10,7 +9,7 @@ COPY [".", "/usr/src"]
|
|||||||
WORKDIR "/usr/src"
|
WORKDIR "/usr/src"
|
||||||
|
|
||||||
RUN yarn
|
RUN yarn
|
||||||
RUN yarn build
|
RUN yarn build ${REACT_APP_ENV_MODE}
|
||||||
|
|
||||||
FROM nginx:1.23.1-alpine
|
FROM nginx:1.23.1-alpine
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|||||||
Reference in New Issue
Block a user