Files
pad/Dockerfile.goreleaser
T
xarmian a2e5a6622d Add Docker support and PAD_DATA_DIR config
- Multi-stage Dockerfile for building from source
- Dockerfile.goreleaser for GoReleaser-built release images
- GoReleaser config: publish multi-arch Docker images to ghcr.io
- Add PAD_DATA_DIR environment variable for configuring data directory
- Update README with Docker install option
- Add .dockerignore
2026-03-28 04:34:17 +00:00

11 lines
212 B
Docker

FROM alpine:3.21
RUN apk add --no-cache ca-certificates tzdata
COPY pad /usr/local/bin/pad
RUN mkdir -p /data
ENV PAD_DATA_DIR=/data
ENV PAD_HOST=0.0.0.0
EXPOSE 7777
VOLUME /data
ENTRYPOINT ["pad"]
CMD ["serve"]