mirror of
https://github.com/skidoodle/ncore-stats.git
synced 2025-02-15 05:09:14 +01:00
fix some stuff lol
This commit is contained in:
parent
9acfc490f0
commit
20d6510053
10 changed files with 131 additions and 30 deletions
|
@ -1,5 +1,7 @@
|
|||
FROM golang:alpine as builder
|
||||
FROM golang:alpine AS builder
|
||||
WORKDIR /build
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
COPY . .
|
||||
RUN go build -o trackncore .
|
||||
|
||||
|
@ -7,8 +9,7 @@ FROM alpine:latest
|
|||
RUN apk --no-cache add ca-certificates
|
||||
WORKDIR /app/
|
||||
COPY --from=builder /build/trackncore .
|
||||
COPY --from=builder /build/.env .
|
||||
COPY --from=builder /build/profiles.json .
|
||||
COPY --from=builder /build/data .
|
||||
COPY --from=builder /build/index.html .
|
||||
EXPOSE 3000
|
||||
CMD ["./trackncore"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue