Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
yangjiakai committed Jul 5, 2023
2 parents 245e4f9 + db5e495 commit 2246135
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
npm-debug.log
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM node:latest

WORKDIR /usr/src/app

COPY package*.json ./

RUN npm ci

COPY . .

EXPOSE 80

CMD ["npm", "run", "dev", "--", "--port", "80"]

0 comments on commit 2246135

Please sign in to comment.