1
0
mirror of https://github.com/elyby/chrly.git synced 2025-01-14 07:42:09 +05:30
2024-02-01 07:58:26 +01:00

13 lines
230 B
Docker

# 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"]