Skip to content

Commit

Permalink
Update WebApp.Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Roopan-Microsoft authored Jan 27, 2025
1 parent 0984bc0 commit 2546cc3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion WebApp.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ USER node
RUN npm ci
COPY --chown=node:node ./frontend/ ./frontend
WORKDIR /home/node/app/frontend
RUN npm install --save-dev @types/node @types/jest
RUN NODE_OPTIONS=--max_old_space_size=8192 npm run build

FROM python:3.11-alpine
Expand All @@ -27,4 +28,4 @@ COPY --from=frontend /home/node/app/static /usr/src/app/static/
WORKDIR /usr/src/app
EXPOSE 80

CMD ["gunicorn" , "-b", "0.0.0.0:80", "app:app"]
CMD ["gunicorn" , "-b", "0.0.0.0:80", "app:app"]

0 comments on commit 2546cc3

Please sign in to comment.