from alpine:latest
RUN apk add --no-cache curl
COPY . opt
RUN crontab /opt/crontab
RUN chmod +x /opt/entrypoint.sh
RUN chmod +x /opt/phc.sh
CMD ["/opt/entrypoint.sh"]