Skip to content

Commit

Permalink
Dockerfile env fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bindeali committed Jul 30, 2023
1 parent 50592af commit b176d93
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
16 changes: 15 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
FROM node:18 as node

ARG PUBLIC_PATH=.
ENV PUBLIC_URL=${PUBLIC_PATH}
ENV PUBLIC_URL=$PUBLIC_PATH
ARG REACT_APP_CONTEXT
ENV REACT_APP_CONTEXT=$REACT_APP_CONTEXT
ARG REACT_APP_ID
ENV REACT_APP_ID=$REACT_APP_ID
ARG REACT_APP_URL
ENV REACT_APP_URL=$REACT_APP_URL
ARG REACT_APP_COMPONENTS
ENV REACT_APP_COMPONENTS=$REACT_APP_COMPONENTS
ARG REACT_APP_DEBUG
ENV REACT_APP_DEBUG=$REACT_APP_DEBUG
ARG REACT_APP_AUTHENTICATION
ENV REACT_APP_AUTHENTICATION=$REACT_APP_AUTHENTICATION
ARG REACT_APP_STANDALONE
ENV REACT_APP_STANDALONE=$REACT_APP_STANDALONE

WORKDIR /ontographer
COPY package.json .
Expand Down
15 changes: 0 additions & 15 deletions Dockerfile-standalone

This file was deleted.

0 comments on commit b176d93

Please sign in to comment.