diff --git a/Dockerfile b/Dockerfile index 7fbca0b..f39abbc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,6 @@ FROM alpine:3.20 AS builder RUN apk add --no-cache build-base WORKDIR /app COPY deployment.c . -# Wir bauen hier noch "normal" RUN gcc -o deployment deployment.c # RUNTIME STAGE @@ -12,6 +11,5 @@ WORKDIR /app COPY --from=builder /app/deployment . RUN mkdir /output -# Wir nutzen sh (Standard in Alpine), da bash extra installiert werden müsste ENTRYPOINT ["/bin/sh", "-c"] CMD ["./deployment 10 > /output/output.txt && tail -f /output/output.txt"] \ No newline at end of file