Dockerfile fix

This commit is contained in:
Johannes Bülow 2025-07-23 13:20:59 +02:00
parent 3f5d3182fe
commit eea3203a3b
Signed by: jmb
GPG key ID: B56971CF7B8F83A6

View file

@ -7,12 +7,12 @@ RUN go mod download
COPY . .
RUN go build -o main.out ./cmd/main.go
RUN go build -o main.out ./main.go
FROM alpine:latest
COPY --from=builder /app/main.out /app/checkfile
COPY --from=builder /app/main.out /app/scanfile
EXPOSE 8080
CMD ["/app/checkfile"]
CMD ["/app/scanfile"]