mirror of
https://github.com/woodchen-ink/clash-and-dashboard.git
synced 2025-07-18 05:51:56 +08:00
fix nginx不启动以及arm架构报错问题
This commit is contained in:
parent
238369cd7a
commit
3b4371b0f1
@ -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 .
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM dreamacro/clash:v1.16.0
|
FROM --platform=$TARGETPLATFORM dreamacro/clash:v1.16.0
|
||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
@ -1,2 +1,4 @@
|
|||||||
nginx
|
#!/bin/sh
|
||||||
/clash
|
sleep 5s
|
||||||
|
/usr/sbin/nginx
|
||||||
|
/clash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user