mirror of
https://github.com/skidoodle/ncore-stats.git
synced 2026-04-28 07:47:36 +02:00
Update Dockerfile
This commit is contained in:
+4
-2
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user