build(docker): added Dockerfiles for local/prod (prod untested)

Also adds docker-compose.yml for development
This commit is contained in:
sct
2020-08-22 10:24:37 +00:00
parent 533ede1ab7
commit f2487d920f
5 changed files with 45 additions and 25 deletions

9
Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM node:12.18-alpine
COPY . /app
WORKDIR /app
RUN yarn && \
yarn build
CMD yarn start