# Base image FROM ubuntu:latest # Maintainer information LABEL maintainer="Maksim Stojkovic " \ org.label-schema.vcs-url="https://github.com/maksimstojkovic/docker-letsencrypt" # Install tools required RUN apt update RUN apt upgrade -y RUN apt install bash certbot curl python3-certbot-nginx -y jq # Copy scripts WORKDIR /scripts COPY ./scripts /scripts RUN chmod -R +x /scripts # Image starting command CMD ["/bin/bash", "/scripts/start.sh"]