Browse Source

adding simple dockerfile

master
lza_menace 2 years ago
parent
commit
b3c3e4ace3
  1. 1
      .dockerignore
  2. 13
      Dockerfile

1
.dockerignore

@ -0,0 +1 @@ @@ -0,0 +1 @@
.git

13
Dockerfile

@ -0,0 +1,13 @@ @@ -0,0 +1,13 @@
FROM node:8
WORKDIR /srv
COPY package*.json ./
RUN npm install
COPY . ./
EXPOSE 8080
CMD ["node", "index.js"]
Loading…
Cancel
Save