We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cee8512 commit caae2b0Copy full SHA for caae2b0
Dockerfile
@@ -2,6 +2,8 @@ FROM python:3.11-slim-bookworm
2
3
COPY requirements.txt /
4
5
+
6
7
RUN \
8
python3 -m pip install -r requirements.txt && rm -rf ~/.cache && rm requirements.txt
9
@@ -14,5 +16,6 @@ ADD /ex_app/li[b] /ex_app/lib
14
16
COPY --chmod=775 healthcheck.sh /
15
17
18
WORKDIR /ex_app/lib
19
+ENV PYTHONPATH="/"
20
ENTRYPOINT ["python3", "main.py"]
21
HEALTHCHECK --interval=2s --timeout=2s --retries=300 CMD /healthcheck.sh
0 commit comments