0.1.0 - First pass at the app

This commit is contained in:
2026-04-28 15:26:55 -06:00
parent 73aff92505
commit 7420e2b890
17 changed files with 254 additions and 25 deletions
+21
View File
@@ -0,0 +1,21 @@
# Build stage
FROM golang:alpine AS builder
RUN apk add --no-cache build-base
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=1 GOOS=linux go build -o sprintpadawan main.go
# Runtime stage
FROM alpine:latest
RUN apk --no-cache add ca-certificates tzdata
WORKDIR /app
ENV ROOT_DIR=/data
RUN mkdir -p /data
COPY --from=builder /app/sprintpadawan .
EXPOSE 8080
CMD ["./sprintpadawan"]