fix: ensure the downloaded GeoLite2 DB is not corrupted & prevent RW race condition (#138)

This commit is contained in:
Giovanni
2025-01-20 18:50:58 +08:00
committed by GitHub
parent 72923bb86d
commit f7710f2988
5 changed files with 53 additions and 18 deletions

View File

@@ -21,7 +21,7 @@ RUN CGO_ENABLED=1 GOOS=linux go build -o /app/backend/pocket-id-backend .
# Stage 3: Production Image
FROM node:20-alpine
# Delete default node user
# Delete default node user
RUN deluser --remove-home node
RUN apk add --no-cache caddy curl su-exec