Skip to content

Commit

Permalink
[Added] Dockerfile to create image
Browse files Browse the repository at this point in the history
  • Loading branch information
ROSSROSALES committed Oct 22, 2023
1 parent a197bb1 commit f34f98a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM node:12

WORKDIR /app

COPY package*.json ./

RUN npm install

COPY . .

ENV PORT=8080

EXPOSE 8080

CMD ["npm", "start"]

0 comments on commit f34f98a

Please sign in to comment.