Update Dockerfile

This commit is contained in:
2025-06-14 05:21:30 +02:00
committed by GitHub
parent 95188e3d38
commit a001334c9b
+4 -2
View File
@@ -8,7 +8,7 @@ RUN go mod download
COPY . .
ENV CGO_ENABLED=1
RUN go build -o trackncore .
RUN go build -o ncore-stats .
FROM alpine:latest
RUN apk --no-cache add ca-certificates
@@ -16,5 +16,7 @@ WORKDIR /app/
COPY --from=builder /build/trackncore .
COPY --from=builder /build/data .
COPY --from=builder /build/index.html .
COPY --from=builder /build/script.js .
COPY --from=builder /build/style.css .
EXPOSE 3000
CMD ["./trackncore"]
CMD ["./ncore-stats"]