|
|
|
@ -39,7 +39,7 @@ COPY templates ./templates
|
|
|
|
|
|
|
|
|
|
|
|
RUN mkdir -p logs static/upload static/download static/invoice
|
|
|
|
RUN mkdir -p logs static/upload static/download static/invoice
|
|
|
|
|
|
|
|
|
|
|
|
EXPOSE 8001
|
|
|
|
EXPOSE 8011
|
|
|
|
|
|
|
|
|
|
|
|
HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \
|
|
|
|
HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \
|
|
|
|
CMD python -c "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8001/common/health', timeout=5)" || exit 1
|
|
|
|
CMD python -c "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8001/common/health', timeout=5)" || exit 1
|
|
|
|
|