diff --git a/Dockerfile b/Dockerfile index afed8e8..b0caff5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ RUN mkdir /output VOLUME /output # User erstellen -RUN adduser -D appuser +RUN adduser -D appuser && chown /output appuser USER appuser #health @@ -28,5 +28,5 @@ HEALTHCHECK --interval=5s --timeout=3s --retries=3 \ CMD pgrep deployment || exit 1 # Ausgabe wird ins Container-Dateisystem geschrieben -ENTRYPOINT ["/bin/bash", "-c"] +ENTRYPOINT ["/bin/sh", "-c"] CMD ["./deployment 10 > /output/output.txt && tail -f /output/output.txt"] \ No newline at end of file