mirror of
https://github.com/skidoodle/ncore-stats.git
synced 2025-02-15 05:09:14 +01:00
Init
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM golang:alpine as builder
|
||||
WORKDIR /build
|
||||
COPY . .
|
||||
RUN go build -o trackncore .
|
||||
|
||||
FROM alpine:latest
|
||||
WORKDIR /app/
|
||||
COPY --from=builder /build/trackncore .
|
||||
COPY --from=builder /build/index.html .
|
||||
EXPOSE 3000
|
||||
CMD ["./trackncore"]
|
Reference in New Issue
Block a user