Dockerize everything

This commit is contained in:
LordMathis 2019-04-06 20:22:46 +02:00
parent 0a2bc467b2
commit 3dd59b4b62
3 changed files with 14 additions and 3 deletions

6
.dockerignore Normal file
View File

@ -0,0 +1,6 @@
node_modules
npm-debug.log
yarn-error.log
build
public
.git

4
.gitignore vendored
View File

@ -1,8 +1,6 @@
node_modules
build
public
*.log
content
renders
drafts
data.json
build

7
Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM node:10-alpine
WORKDIR /app
COPY . ./
RUN yarn
RUN yarn build
EXPOSE 3000
CMD [ "yarn", "start" ]