Skip to content

Commit

Permalink
Added support for Docker (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefins authored Apr 24, 2021
1 parent 429684f commit d1b4f9e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.git
18 changes: 18 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM node:15.14.0-alpine

# Create app directory
WORKDIR /app

COPY package*.json ./

RUN npm install

ADD . /app/

COPY . .

RUN npm run build

EXPOSE 3000

CMD ["npm","run","start"]

0 comments on commit d1b4f9e

Please sign in to comment.