images/caddy/Dockerfile
2024-06-06 21:30:12 -04:00

12 lines
256 B
Docker

FROM alpine
# install packages
RUN apk add --no-cache tini wget
# copy entrypoint
COPY ./entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
# execute
ENTRYPOINT ["/sbin/tini", "--"]
CMD ["/usr/local/bin/entrypoint.sh"]