# Start from Alpine base image FROM alpine:latest # Install bash and curl RUN apk update && apk add --no-cache curl bash COPY src /app/scripts RUN chmod +x /app/scripts -R ENV LOOP=60 # Set bash as the default shell CMD ["/bin/sh","-c", "/app/scripts/update-ip.sh"]