mirror of
https://github.com/nitezs/sub2clash.git
synced 2024-12-24 11:54:41 -05:00
fix: 修改 Dockerfile 工作目录
This commit is contained in:
parent
282649aca0
commit
4e7d84499f
@ -14,6 +14,9 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o sub2clash
|
|||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
|
||||||
|
# 设置工作目录
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
# 从 builder 镜像中复制出编译好的二进制文件
|
# 从 builder 镜像中复制出编译好的二进制文件
|
||||||
COPY --from=builder /app/sub2clash /app/sub2clash
|
COPY --from=builder /app/sub2clash /app/sub2clash
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user