Skip to content

Commit

Permalink
feat: add dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
xigua1994 committed Sep 17, 2024
1 parent f93daf0 commit b2bf960
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM node:14
WORKDIR /app
COPY package*.json ./
RUN yarn install
COPY . .
EXPOSE 3000
CMD ["node", "./src/app.js"]

0 comments on commit b2bf960

Please sign in to comment.