fix nginx不启动以及arm架构报错问题

This commit is contained in:
zhangwenyu 2024-01-25 11:11:46 +08:00
parent 238369cd7a
commit 3b4371b0f1
3 changed files with 8 additions and 3 deletions

View File

@ -6,6 +6,9 @@
## 打包 ## 打包
```sh ```sh
npm install -g pnpm
pnpm i
pnpm build
docker build -f ./build/Dockerfile -t clash-and-dashboard:latest . docker build -f ./build/Dockerfile -t clash-and-dashboard:latest .
``` ```

View File

@ -1,4 +1,4 @@
FROM dreamacro/clash:v1.16.0 FROM --platform=$TARGETPLATFORM dreamacro/clash:v1.16.0
EXPOSE 8080 EXPOSE 8080

View File

@ -1,2 +1,4 @@
nginx #!/bin/sh
/clash sleep 5s
/usr/sbin/nginx
/clash