Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM node:16-alpine

WORKDIR /app

COPY . /app

RUN apk add --no-cache git

RUN set -eux; \
npm install ; \
npm i -g pm2 ; \
npm run server/build ;\
npm run front/build

EXPOSE 3012

CMD ["pm2-runtime", "start", "bootstrap-pm2.json"]