1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
Mailu/core/admin/Dockerfile

32 lines
601 B
Docker
Raw Normal View History

# syntax=docker/dockerfile-upstream:1.4.3
2021-08-13 14:06:46 +02:00
# admin image
FROM base
2021-11-04 15:22:12 +02:00
ARG VERSION=local
LABEL version=$VERSION
RUN set -euxo pipefail \
2022-10-14 14:34:58 +02:00
; apk add --no-cache libressl mariadb-connector-c postgresql-libs
COPY --from=assets /work/static/ ./mailu/static/
COPY audit.py /
COPY start.py /
COPY migrations/ ./migrations/
COPY mailu/ ./mailu/
RUN set -euxo pipefail \
; venv/bin/pybabel compile -d mailu/translations
RUN echo $VERSION >/version
#EXPOSE 80/tcp
HEALTHCHECK CMD curl -skfLo /dev/null http://localhost/sso/login?next=ui.index
2018-12-20 17:47:15 +02:00
VOLUME ["/data","/dkim"]
ENV FLASK_APP=mailu
2018-10-23 10:58:36 +02:00
CMD /start.py