Add slug support and new admin features

This commit is contained in:
Tomas Dvorak committed 2026-03-14 10:40:04 +01:00
1 parent 4773e4cab1
commit 21574a8b30
31 files changed
+37490 -36033

No files matched your search

+15 -15
View File
@@ -1,15 +1,15 @@
FROM golang:1.22-alpine AS build
WORKDIR /app
COPY . .
RUN go build -o server ./main.go
FROM alpine:3.20
WORKDIR /app
# HTTPS for /img/clean proxy requires CA bundle
RUN apk add --no-cache ca-certificates \
&& update-ca-certificates
# Optional: timezone data for precise Prague time
# RUN apk add --no-cache tzdata
COPY --from=build /app/server /app/server
EXPOSE 8080
ENTRYPOINT ["/app/server"]
FROM golang:1.22-alpine AS build
WORKDIR /app
COPY . .
RUN go build -o server ./main.go
FROM alpine:3.20
WORKDIR /app
# HTTPS for /img/clean proxy requires CA bundle
RUN apk add --no-cache ca-certificates \
&& update-ca-certificates
# Optional: timezone data for precise Prague time
# RUN apk add --no-cache tzdata
COPY --from=build /app/server /app/server
EXPOSE 8080
ENTRYPOINT ["/app/server"]