-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (16 loc) · 724 Bytes
/
Copy pathDockerfile
File metadata and controls
25 lines (16 loc) · 724 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
ARG TRAEFIK_VERSION=3.6.8
FROM traefik:$TRAEFIK_VERSION
# provide the servername as a configurable option
# note that this is self signed so you should still add it to your
# trusted certificates every time you rebuild this images.
# For Chrome: click on the lock icon and export it
# then browse to chrome://settings/certificates and add it. Then restart
# add a self signed certificate
# note: it might be a good thing to remove the openssl package again to
# reduce the attack surface.
RUN apk add --no-cache openssl
WORKDIR /opt/traefik/certs
COPY docker/traefik/etc/traefik /etc/traefik
RUN mv /entrypoint.sh /entrypoint.original.sh
COPY docker/traefik/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh