backend: update packaging and add build-image command + Dockerfile

Co-authored-by: Ivan Shmidt <bahoc47@gmail.com>
This commit is contained in:
Patrik Oldsberg
2020-06-25 18:05:11 +02:00
parent 84b55c10ca
commit 66e2bfe073
2 changed files with 18 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
FROM node:12
WORKDIR /usr/src/app
COPY . .
RUN yarn install --frozen-lockfile --production
CMD ["node", "packages/backend"]