images/caddy/Dockerfile

14 lines
290 B
Text
Raw Normal View History

2024-06-06 21:27:05 +00:00
FROM alpine:3.19
# install packages
RUN apk add --no-cache tini wget
RUN rm -fr /var/cache/apk/*
# 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"]