Files
website/Dockerfile.dev
jimmy 45b31be9a7 Add gallery admin and video media support.
This updates gallery handling to support video playback with generated poster thumbnails, adds authenticated admin upload/delete flows, and improves dev/runtime behavior including reliable thumbnail generation and media-safe response handling.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-02 23:01:02 +12:00

23 lines
438 B
Docker

ARG GO_VERSION=1.25
FROM golang:${GO_VERSION}-bookworm
RUN apt-get update \
&& apt-get install -y --no-install-recommends ffmpeg \
&& rm -rf /var/lib/apt/lists/*
RUN go install github.com/a-h/templ/cmd/templ@latest \
&& go install github.com/air-verse/air@latest
WORKDIR /app
COPY app/go.mod app/go.sum ./
RUN go mod download
COPY app/.air.toml app/dev.sh ./
RUN chmod +x dev.sh
EXPOSE 8080 7331
ENV ADDR=:8080
CMD ["./dev.sh"]