mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-11-15 11:35:56 +08:00
c671018798
Signed-off-by: Zoey <zoey@z0ey.de>
21 lines
495 B
Docker
21 lines
495 B
Docker
# syntax=docker/dockerfile:latest
|
|
FROM haproxy:2.9.7-alpine3.19
|
|
|
|
# hadolint ignore=DL3002
|
|
USER root
|
|
ENV NEXTCLOUD_HOST nextcloud-aio-nextcloud
|
|
RUN set -ex; \
|
|
apk upgrade --no-cache -a; \
|
|
apk add --no-cache \
|
|
ca-certificates \
|
|
tzdata \
|
|
bash \
|
|
bind-tools; \
|
|
chmod -R 777 /tmp
|
|
|
|
COPY --chmod=775 *.sh /
|
|
COPY --chmod=664 haproxy.cfg /haproxy.cfg
|
|
|
|
ENTRYPOINT ["/start.sh"]
|
|
HEALTHCHECK CMD /healthcheck.sh
|
|
LABEL com.centurylinklabs.watchtower.enable="false"
|