Clean master commit

This commit is contained in:
Lachlan Kermode
2018-10-31 19:35:15 +00:00
commit 2cbfbc33ef
24 changed files with 5400 additions and 0 deletions

20
Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
FROM mhart/alpine-node:10.11
LABEL authors="Lachlan Kermode <lk@forensic-architecture.org>"
# Install app dependencies
COPY package.json /www/package.json
RUN cd /www; yarn
# Copy app source
COPY . /www
WORKDIR /www
RUN yarn build
RUN mkdir -p temp
# set your port
ENV PORT 8080
EXPOSE 8080
# start command as per package.json
CMD ["yarn", "start"]