File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ LABEL org.opencontainers.image.source="https://github.com/PasarGuard/node"
2121RUN apk update && apk add --no-cache wireguard-tools nftables iproute2 procps
2222
2323WORKDIR /app
24- COPY --from=builder /src /app
24+ COPY --from=builder /src/main /app/main
2525COPY --from=builder /usr/local/bin/xray /usr/local/bin/xray
2626COPY --from=builder /usr/local/share/xray /usr/local/share/xray
2727
28- ENTRYPOINT ["./main" ]
28+ ENTRYPOINT ["./main" ]
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ FROM alpine:latest
1919LABEL org.opencontainers.image.source="https://github.com/PasarGuard/node"
2020
2121WORKDIR /app
22- COPY --from=builder /src /app
22+ COPY --from=builder /src/main /app/main
2323COPY --from=builder /usr/local/bin/xray /usr/local/bin/xray
2424COPY --from=builder /usr/local/share/xray /usr/local/share/xray
2525
26- ENTRYPOINT ["./main"]
26+ ENTRYPOINT ["./main"]
You can’t perform that action at this time.
0 commit comments