17 lines
427 B
Docker
17 lines
427 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 certbot curl
|
|
|
|
# Copy scripts
|
|
WORKDIR /scripts
|
|
COPY ./scripts /scripts
|
|
RUN chmod -R +x /scripts
|
|
|
|
# Image starting command
|
|
CMD ["/bin/sh", "/scripts/start.sh"]
|