Add build arg for react build
This commit is contained in:
parent
690ce1ef7b
commit
cdebca5441
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@ COPY package.json .
|
|||
RUN npm i
|
||||
COPY public public
|
||||
COPY src src
|
||||
ARG REACT_APP_CAIRO_URL
|
||||
RUN npm run build:react
|
||||
COPY server server
|
||||
CMD ["npm", "start"]
|
||||
|
|
Reference in a new issue