mirror of
https://github.com/skidoodle/ncore-stats.git
synced 2025-02-15 05:09:14 +01:00
Init
This commit is contained in:
commit
614504e933
9 changed files with 564 additions and 0 deletions
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"]
|
Loading…
Add table
Add a link
Reference in a new issue