feat(gallery): routes

This commit is contained in:
2026-05-31 10:46:07 +02:00
parent ee3eba3cd9
commit 9282f1f634
22 changed files with 223 additions and 34 deletions
-6
View File
@@ -17,9 +17,6 @@ RUN pnpm run build:css && pnpm run build:js
FROM golang:1.26-alpine AS go-builder
WORKDIR /app
# Install git for potential private modules (though not strictly needed here)
RUN apk add --no-cache git
# Download Go modules
COPY go.mod go.sum ./
RUN go mod download
@@ -41,9 +38,6 @@ RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o /app/server ./cmd/schr
FROM alpine:latest
WORKDIR /app
# Install root certificates and timezone data
RUN apk --no-cache add ca-certificates tzdata
# Copy the compiled binary from the builder stage
COPY --from=go-builder /app/server .