fix: add curl for health check
This commit is contained in:
parent
6ccee1e952
commit
97b2ac7ccb
1 changed files with 4 additions and 13 deletions
17
Dockerfile
17
Dockerfile
|
|
@ -1,16 +1,7 @@
|
||||||
FROM python:3.12-slim
|
FROM python:3.12-slim
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
RUN apt-get update && apt-get install -y --no-install-recommends curl && apt-get clean
|
||||||
RUN pip install --no-cache-dir \
|
RUN pip install --no-cache-dir fastapi==0.115.0 uvicorn==0.30.6 httpx==0.27.2 ezdxf==1.3.4 python-multipart==0.0.9
|
||||||
fastapi==0.115.0 \
|
|
||||||
uvicorn==0.30.6 \
|
|
||||||
httpx==0.27.2 \
|
|
||||||
ezdxf==1.3.4 \
|
|
||||||
python-multipart==0.0.9
|
|
||||||
|
|
||||||
COPY main.py .
|
COPY main.py .
|
||||||
|
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
|
||||||
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
|
|
||||||
Loading…
Reference in a new issue