Initial project scaffold for Chronos

This commit is contained in:
Alvin-Zilverstand committed 2026-11-21 22:23:40 +01:00
1 parent 8bbb5a8e45
commit 0083ce81f9
10 files changed
+156 -1

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
# syntax=docker/dockerfile:1
FROM golang:1.21-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN go build -o /app/chronos ./main.go
FROM alpine
WORKDIR /app
COPY --from=builder /app/chronos .
EXPOSE 8080
CMD ["./chronos"]