eaedk commited on
Commit
7f79b6a
·
1 Parent(s): c53ea0b
Files changed (1) hide show
  1. Dockerfile +20 -0
Dockerfile ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.13.5-slim
2
+
3
+ WORKDIR /app
4
+
5
+ RUN apt-get update && apt-get install -y \
6
+ build-essential \
7
+ curl \
8
+ git \
9
+ && rm -rf /var/lib/apt/lists/*
10
+
11
+ COPY requirements.txt ./
12
+ COPY . ./
13
+
14
+ RUN pip3 install -r requirements.txt
15
+
16
+ EXPOSE 7860
17
+
18
+ # HEALTHCHECK CMD curl --fail http://localhost:8000/_stcore/health
19
+
20
+ ENTRYPOINT ["uvicorn", "_app:app", "", "--host=0.0.0.0 ", " --port=7860", "--reload"]