mirror of
https://github.com/PerpetualSoftware/pad.git
synced 2026-09-23 19:06:33 +00:00
a2e5a6622d
- 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
11 lines
212 B
Docker
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"]
|