mirror of
https://github.com/woodchen-ink/clash-and-dashboard.git
synced 2025-07-17 21:41:55 +08:00
fix nginx不启动以及arm架构报错问题
This commit is contained in:
parent
238369cd7a
commit
3b4371b0f1
@ -6,6 +6,9 @@
|
||||
|
||||
## 打包
|
||||
```sh
|
||||
npm install -g pnpm
|
||||
pnpm i
|
||||
pnpm build
|
||||
docker build -f ./build/Dockerfile -t clash-and-dashboard:latest .
|
||||
```
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM dreamacro/clash:v1.16.0
|
||||
FROM --platform=$TARGETPLATFORM dreamacro/clash:v1.16.0
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
|
@ -1,2 +1,4 @@
|
||||
nginx
|
||||
/clash
|
||||
#!/bin/sh
|
||||
sleep 5s
|
||||
/usr/sbin/nginx
|
||||
/clash
|
||||
|
Loading…
x
Reference in New Issue
Block a user