Skip to content

Commit

Permalink
dockerfile created
Browse files Browse the repository at this point in the history
  • Loading branch information
xbersoy committed May 2, 2021
1 parent 6886153 commit ecf3db8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
.vscode
.env
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM node:14

WORKDIR /src/app

COPY package*json ./

RUN npm install

COPY . .

ENV PORT=3000

EXPOSE ${PORT}

CMD ["npm", "start"]

0 comments on commit ecf3db8

Please sign in to comment.