Update Dockerfile
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
@@ -27,11 +27,12 @@ RUN git clone --depth=1 https://github.com/guoba-yunzai/guoba-plugin.git plugins
|
|
27 |
# 拷贝 Guoba 配置文件
|
28 |
COPY ./application.yaml ./plugins/Guoba-Plugin/config/
|
29 |
|
30 |
-
# 安装依赖
|
31 |
-
RUN npm install
|
32 |
-
|
33 |
# 给予权限
|
34 |
RUN chmod -R 777 /app
|
35 |
|
|
|
|
|
|
|
|
|
36 |
# 启动应用程序
|
37 |
CMD ["node", "app.js"]
|
|
|
27 |
# 拷贝 Guoba 配置文件
|
28 |
COPY ./application.yaml ./plugins/Guoba-Plugin/config/
|
29 |
|
|
|
|
|
|
|
30 |
# 给予权限
|
31 |
RUN chmod -R 777 /app
|
32 |
|
33 |
+
# 安装依赖
|
34 |
+
RUN npm install -g pnpm
|
35 |
+
RUN pnpm install
|
36 |
+
|
37 |
# 启动应用程序
|
38 |
CMD ["node", "app.js"]
|