Fix Dokploy Bad Gateway: drop required .env and add app healthcheck.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
orohi
2026-07-29 04:10:37 +03:00
co-authored by Cursor
parent 7b77d84f68
commit 6510de0214
4 changed files with 48 additions and 15 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o /out/pane
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o /out/vpn-node ./cmd/node
FROM alpine:3.21
RUN apk add --no-cache ca-certificates tzdata openssh-client
RUN apk add --no-cache ca-certificates tzdata openssh-client wget
WORKDIR /app
COPY --from=builder /out/panel /app/panel