aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 8c5833ae529ffcd9813b315c163415aec4ce91e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM docker.io/alpine:3.17

RUN echo "http://dl-cdn.alpinelinux.org/alpine/v3.17/main" > /etc/apk/repositories
RUN echo "http://dl-cdn.alpinelinux.org/alpine/v3.17/community" >> /etc/apk/repositories

RUN apk update
RUN apk add nginx
RUN apk add age signify acme.sh

RUN mkdir -p /var/acme /var/www/acme

COPY setup.sh /setup.sh
COPY entrypoint.sh /
COPY renewal.sh /

ENTRYPOINT /entrypoint.sh