Skip to content

Commit

Permalink
Added the dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
satyamraj1643 committed Dec 21, 2023
1 parent e819c5e commit f6b214e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
Empty file added .dockerignore
Empty file.
22 changes: 22 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

FROM node:20


WORKDIR /application


COPY package*.json ./


RUN npm install


COPY . .


RUN npm run build

EXPOSE 80


CMD ["npm", "start"]

0 comments on commit f6b214e

Please sign in to comment.