Skip to content

Commit

Permalink
dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
northdpole committed Jan 1, 2024
1 parent 40822fc commit 63fc47c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM node:lts as build

WORKDIR /code
COPY . /code
RUN yarn install && yarn build

FROM python:3.11.0 as run

COPY --from=build /code /code
WORKDIR /code
RUN pip install -r requirements.txt gunicorn

ENTRYPOINT gunicorn
CMD '--bind 0.0.0.0:8081 --log-level debug -w 3 --timeout 800 cre:app'

0 comments on commit 63fc47c

Please sign in to comment.