Skip to content

Commit

Permalink
⚡fixed build path
Browse files Browse the repository at this point in the history
  • Loading branch information
theanuragshukla committed Mar 23, 2024
2 parents fa3cdca + e2dd93e commit 46f66fc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion client/Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ENV NODE_ENV production
ENV REACT_APP_SERVER_URL $REACT_APP_SERVER_URL
ENV REACT_APP_PEER_HOST $REACT_APP_PEER_HOST
ENV REACT_APP_PEER_PORT $REACT_APP_PEER_PORT
ENC REACT_APP_PEER_SECURE $REACT_APP_PEER_SECURE
ENV REACT_APP_PEER_SECURE $REACT_APP_PEER_SECURE

WORKDIR /app

Expand All @@ -34,3 +34,4 @@ COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80

CMD ["nginx", "-g", "daemon off;"]

7 changes: 5 additions & 2 deletions server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
FROM node:18-alpine

ENV MONGO_URL
ENV CLIENT_URL
ARG CLIENT_URL
ARG MONGO_URL

ENV MONGO_URL $MONGO_URL
ENV CLIENT_URL $CLIENT_URL

WORKDIR /app

Expand Down

0 comments on commit 46f66fc

Please sign in to comment.