cleaning master

This commit is contained in:
lesion
2019-06-08 13:28:10 +02:00
parent 07d3601fd6
commit c2b69d15a7
81 changed files with 0 additions and 15231 deletions

View File

@@ -1,33 +0,0 @@
FROM node:10
WORKDIR /usr/src/app
COPY package.json .
COPY pm2.json .
COPY .env.production .
# install backend dependencies
RUN yarn
# copy source
COPY app app/
COPY client client/
# install nodemon
RUN yarn global add pm2
WORKDIR /usr/src/app/client
# install frontend dependencies
RUN yarn
# build frontend
RUN export $(cat /usr/src/app/.env.production); yarn build
WORKDIR /usr/src/app
EXPOSE 12300
CMD [ "pm2-runtime", "start", "pm2.json" ]