docker-letsencrypt/Dockerfile
2022-08-20 23:49:03 +10:00

17 lines
434 B
Docker

# Base image
FROM alpine:latest
# Maintainer information
LABEL maintainer="Maksim Stojkovic <https://github.com/maksimstojkovic>" \
org.label-schema.vcs-url="https://github.com/maksimstojkovic/docker-letsencrypt"
# Install tools required
RUN apk --no-cache add bash certbot curl
# Copy scripts
WORKDIR /scripts
COPY ./scripts /scripts
RUN chmod -R +x /scripts
# Image starting command
CMD ["/bin/bash", "/scripts/start.sh"]