mirror of
https://github.com/elyby/chrly.git
synced 2024-12-25 14:39:55 +05:30
13 lines
230 B
Docker
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"]
|