Dockerize app (#303)

Add a Dockerfile to the project
This commit is contained in:
PurpleBabar
2020-01-17 11:10:53 -03:00
committed by Gaël Métais
parent c59e9fc3f5
commit 52ac5e5424
4 changed files with 8060 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
FROM node:10
WORKDIR /app
ENV VERSION=master
EXPOSE 8383
RUN git clone --branch ${VERSION} https://github.com/LumberjackOtters/YellowLabTools ylt && cd ylt && yarn install && yarn build
ENV NODE_ENV=production
CMD ["node", "/app/ylt/bin/server.js"]