Add env in frontend docker file
This commit is contained in:
parent
cac78a4f4e
commit
e3604eaeb8
@ -9,11 +9,13 @@ RUN npm ci
|
||||
COPY . /usr/app
|
||||
|
||||
ARG REACT_APP_DISCORD_OAUTH
|
||||
ARG REACT_APP_DISCORD_INVITE
|
||||
ARG REACT_APP_SSH_SERVER
|
||||
ARG REACT_APP_SSH_PORT
|
||||
ENV REACT_APP_DISCORD_OAUTH $REACT_APP_DISCORD_OAUTH
|
||||
ENV REACT_APP_SSH_SERVER $REACT_APP_SSH_SERVER
|
||||
ENV REACT_APP_SSH_PORT $REACT_APP_SSH_PORT
|
||||
ENV REACT_APP_DISCORD_INVITE $REACT_APP_DISCORD_INVITE
|
||||
RUN npm run build
|
||||
|
||||
# Runner
|
||||
|
Loading…
Reference in New Issue
Block a user