Dockerfile aktualisiert
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Tanja Kuerzdoerfer 2026-04-18 09:53:50 +00:00
parent 8c7f2f174d
commit 3855a269bf

View File

@ -11,16 +11,13 @@ WORKDIR /app
COPY --chown=appuser:appgroup . .
USER appuser
RUN gcc -o deployment deployment.c -O2 -static # -static macht das Binary robuster
RUN gcc -o deployment deployment.c -O2 -static
USER root
RUN mkdir -p /output && \
chown -R appuser:appgroup /output && \
chmod 755 /output
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
CMD pgrep -x deployment > /dev/null || exit 1
chmod -R 755 /output
VOLUME ["/output"]