chrly/build/package/Dockerfile

13 lines
230 B
Docker
Raw Permalink Normal View History

2024-02-01 12:28:26 +05:30
# syntax=docker/dockerfile:1
ARG BINARY
FROM scratch
EXPOSE 80
COPY --from=alpine:latest /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY ${BINARY} /usr/local/bin/chrly
ENTRYPOINT ["/usr/local/bin/chrly"]
CMD ["serve"]