This commit is contained in:
skidoodle 2024-10-09 01:11:28 +02:00
commit 614504e933
Signed by: albert
GPG key ID: A06E3070D7D55BF2
9 changed files with 564 additions and 0 deletions

11
Dockerfile Normal file
View 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"]