deploy:增加Dockerfile文件
This commit is contained in:
parent
04c89ffadd
commit
11f1589ecc
8
Dockerfile
Normal file
8
Dockerfile
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
FROM node:lts-buster-slim
|
||||||
|
WORKDIR /app
|
||||||
|
copy ./openRenamerBackend /app
|
||||||
|
RUN rm /app/sqls/* && chmod 777 /app/sqls
|
||||||
|
ENV PORT 80
|
||||||
|
CMD ["/usr/local/bin/node", "dist/index.js"]
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user