mirror of
https://github.com/skidoodle/pastebin
synced 2026-04-28 03:07:40 +02:00
11 lines
291 B
Docker
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"]
|