ci
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
2021-08-16 23:47:37 +08:00
parent f7771815d8
commit 3256f2b3e4
6 changed files with 131 additions and 54 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM node:lts-stretch
WORKDIR /src
COPY . .
RUN cp ormconfig.example.json ormconfig.json && \
cp example.env .env && \
yarn && \
npm install pm2 -g
EXPOSE 80-60000
VOLUME ['/src']
CMD ["./pm2.sh"]