fix docker app logging permissions

This commit is contained in:
fawney19
2026-05-24 18:50:39 +08:00
parent 13e0759d5a
commit 18d9004f22
5 changed files with 20 additions and 18 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ RUN ln -s /opt/aether/releases/image /opt/aether/current
# --- final stage: distroless runtime ---
FROM gcr.io/distroless/static-debian12
COPY --from=layout --chown=65532:65532 /opt/aether /opt/aether
COPY --from=layout /opt/aether /opt/aether
WORKDIR /opt/aether
@@ -39,5 +39,5 @@ EXPOSE 8084
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
CMD ["/opt/aether/current/bin/aether-gateway", "--healthcheck"]
USER 65532:65532
USER root
ENTRYPOINT ["/opt/aether/current/bin/aether-gateway"]