添加redis和rpc功能

This commit is contained in:
2021-08-29 18:31:21 +08:00
parent c5c2efb823
commit 430d002311
17 changed files with 643 additions and 231 deletions

View File

@@ -4,13 +4,15 @@ WORKDIR /src
COPY . .
RUN cp ormconfig.example.json ormconfig.json && \
cp example.env .env && \
yarn && \
npm install pm2 -g
RUN cp example.env .env && \
rm package-lock.json && \
rm yarn.lock && \
npm install && \
npm install pm2 typescript -g && \
node ./build
VOLUME ["/src"]
EXPOSE 80-60000
VOLUME ['/src']
CMD ["./pm2.sh"]