Skip to content

Commit

Permalink
feat: dockerized the app
Browse files Browse the repository at this point in the history
  • Loading branch information
sinkaroid committed Jan 31, 2023
1 parent 9bd0289 commit 428a8f0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM node:latest

WORKDIR /srv/app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
EXPOSE 2003
CMD ["node", "build/index.js"]

0 comments on commit 428a8f0

Please sign in to comment.