mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
Added dependency for FREEBOX in DOCKERFILE
This commit is contained in:
@@ -5,10 +5,9 @@ ARG INSTALL_DIR=/app
|
|||||||
ENV PYTHONUNBUFFERED=1
|
ENV PYTHONUNBUFFERED=1
|
||||||
|
|
||||||
# Install build dependencies
|
# Install build dependencies
|
||||||
RUN apk add --no-cache bash python3 python3-dev gcc musl-dev libffi-dev openssl-dev \
|
RUN apk add --no-cache bash python3 python3-dev gcc musl-dev libffi-dev openssl-dev git\
|
||||||
&& python -m venv /opt/venv
|
&& python -m venv /opt/venv
|
||||||
|
|
||||||
|
|
||||||
# Enable venv
|
# Enable venv
|
||||||
ENV PATH="/opt/venv/bin:$PATH"
|
ENV PATH="/opt/venv/bin:$PATH"
|
||||||
|
|
||||||
@@ -57,6 +56,6 @@ COPY install/crontab /etc/crontabs/root
|
|||||||
RUN ${INSTALL_DIR}/dockerfiles/pre-setup.sh
|
RUN ${INSTALL_DIR}/dockerfiles/pre-setup.sh
|
||||||
|
|
||||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=15s --retries=2 \
|
HEALTHCHECK --interval=30s --timeout=5s --start-period=15s --retries=2 \
|
||||||
CMD curl -sf -o /dev/null ${LISTEN_ADDR}:${PORT}/api/app_state.json
|
CMD curl -sf -o /dev/null ${LISTEN_ADDR}:${PORT}/api/app_state.json
|
||||||
|
|
||||||
ENTRYPOINT ["/init"]
|
ENTRYPOINT ["/init"]
|
||||||
|
|||||||
Reference in New Issue
Block a user