Add Docker configuration
This commit is contained in:
parent
779adde846
commit
c7bfb3edf6
2 changed files with 13 additions and 0 deletions
2
.dockerignore
Normal file
2
.dockerignore
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
node_modules
|
||||||
|
.git
|
11
Dockerfile
Normal file
11
Dockerfile
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
FROM node:0.12.0-slim
|
||||||
|
MAINTAINER Jonathan Cremin <jonathan@crem.in>
|
||||||
|
|
||||||
|
ADD package.json package.json
|
||||||
|
RUN npm install
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
RUN npm run build
|
||||||
|
EXPOSE 3000
|
||||||
|
|
||||||
|
CMD npm start
|
Loading…
Add table
Add a link
Reference in a new issue