Files
pastebin/Dockerfile.release
T
2026-04-21 06:37:19 +02:00

11 lines
291 B
Docker

FROM alpine:latest as certs
RUN apk --no-cache add ca-certificates
FROM scratch
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY pastebin /pastebin
COPY view /view
EXPOSE 3000
VOLUME /data
ENTRYPOINT ["/pastebin", "-addr", ":3000", "-db-path", "/data/pastebin.db"]