blob: ce73095503e1ed884616bf7dee849c12daeb78e5 (
plain)
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
26
27
28
|
# ===================================
# ===== Authelia official image =====
# ===================================
ARG BASE="authelia/base:latest"
FROM ${BASE}
ARG TARGETOS
ARG TARGETARCH
WORKDIR /app
ENV \
PATH="/app:${PATH}" \
PUID=0 \
PGID=0 \
X_AUTHELIA_CONFIG="/config/configuration.yml"
COPY --link LICENSE entrypoint.sh healthcheck.sh ./
COPY --link --chmod=666 .healthcheck.env ./
COPY --link authelia-${TARGETOS}-${TARGETARCH} ./authelia
EXPOSE 9091
ENTRYPOINT ["/app/entrypoint.sh"]
HEALTHCHECK --interval=30s --timeout=3s --start-period=1m CMD /app/healthcheck.sh
|