Dockerize everything
This commit is contained in:
parent
0a2bc467b2
commit
3dd59b4b62
|
@ -0,0 +1,6 @@
|
|||
node_modules
|
||||
npm-debug.log
|
||||
yarn-error.log
|
||||
build
|
||||
public
|
||||
.git
|
|
@ -1,8 +1,6 @@
|
|||
node_modules
|
||||
build
|
||||
public
|
||||
*.log
|
||||
content
|
||||
renders
|
||||
drafts
|
||||
data.json
|
||||
build
|
|
@ -0,0 +1,7 @@
|
|||
FROM node:10-alpine
|
||||
WORKDIR /app
|
||||
COPY . ./
|
||||
RUN yarn
|
||||
RUN yarn build
|
||||
EXPOSE 3000
|
||||
CMD [ "yarn", "start" ]
|
Loading…
Reference in New Issue