minor fix in goreleaser/docker

This commit is contained in:
2026-03-22 22:40:40 +01:00
parent 6f87742882
commit a9216c116b
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -1,6 +1,6 @@
FROM golang:1.26.1-alpine AS builder
RUN apk update && apk add --no-cache git ca-certificates tzdata
RUN apk add --no-cache ca-certificates tzdata
RUN addgroup -S -g 10001 appgroup && \
adduser -S -u 10001 -G appgroup appuser
@@ -20,6 +20,7 @@ COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /usr/share/zoneinfo /usr/share/zoneinfo
COPY --from=builder /etc/passwd /etc/passwd
COPY --from=builder /etc/group /etc/group
COPY --from=builder --chown=10001:10001 /build/ncore-stats /app/ncore-stats
COPY --from=builder --chown=10001:10001 /build/web /app/web
COPY --from=builder --chown=10001:10001 /app/data /app/data