mirror of
https://github.com/FAUSheppy/icinga-webhook-gateway
synced 2025-12-06 07:21:38 +01:00
fix: precreate instance directory
This commit is contained in:
@@ -8,6 +8,9 @@ RUN python3 -m pip install --upgrade pip
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY ./ .
|
COPY ./ .
|
||||||
|
|
||||||
|
# precreate database directory for mount (will otherwise be created at before_first_request)
|
||||||
|
RUN mkdir /app/instance/
|
||||||
|
|
||||||
RUN python3 -m pip install --no-cache-dir -r req.txt
|
RUN python3 -m pip install --no-cache-dir -r req.txt
|
||||||
|
|
||||||
#HEALTHCHECK --interval=5m --timeout=5s CMD /usr/bin/curl http://localhost:5000/ || exit 1
|
#HEALTHCHECK --interval=5m --timeout=5s CMD /usr/bin/curl http://localhost:5000/ || exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user