feat:修改运行方式以兼容arm

This commit is contained in:
fanxb 2022-07-18 10:59:05 +08:00
parent 6e983f8949
commit d4bd8d4f4f
2 changed files with 6 additions and 2 deletions

4
.gitignore vendored
View File

@ -104,3 +104,7 @@ dist
.tern-port .tern-port
data data
/.idea/.gitignore
/.idea/modules.xml
/.idea/open-renamer.iml
/.idea/vcs.xml

View File

@ -2,6 +2,6 @@ FROM node:lts-buster-slim
WORKDIR /app WORKDIR /app
copy ./openRenamerBackend /app copy ./openRenamerBackend /app
ENV PORT 80 ENV PORT 80
CMD ["/usr/local/bin/node", "dist/index.js"] CMD ["bash", "start.sh"]