Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -20,5 +20,8 @@ RUN pnpm install
|
|
20 |
# 将项目文件复制到容器中
|
21 |
COPY ./Yunzai .
|
22 |
|
|
|
|
|
|
|
23 |
# 启动应用程序
|
24 |
CMD ["node", "app.js"]
|
|
|
20 |
# 将项目文件复制到容器中
|
21 |
COPY ./Yunzai .
|
22 |
|
23 |
+
# 给予权限
|
24 |
+
RUN chmod +x ./Yunzai
|
25 |
+
|
26 |
# 启动应用程序
|
27 |
CMD ["node", "app.js"]
|