add .dockerignore, add Dockerfile, add default.nix, udpate README.md, move packages into respective category(dev/production)

This commit is contained in:
felixh committed 2020-11-23 17:44:47 +00:00
1 parent 41798367c8
commit d409d0cf93
6 files changed
+1537 -1446

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
FROM node:lts-alpine3.12
RUN mkdir /data
COPY ./ /data
WORKDIR /data
RUN ls -lash
RUN yarn install --production
RUN adduser --disabled-password --gecos "" slowdowner
RUN chown slowdowner:slowdowner /data
CMD yarn run start
EXPOSE 8080