ApiCheck commited on
Commit
b79c924
·
verified ·
1 Parent(s): 9afbc7c

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -0
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.13-slim
2
+
3
+ WORKDIR /app
4
+
5
+ RUN python3 -m venv /app/venv
6
+ ENV PATH="/app/venv/bin:$PATH"
7
+
8
+ COPY requirements.txt /app/
9
+ RUN pip install --no-cache-dir -r requirements.txt
10
+
11
+ COPY . /app
12
+
13
+ EXPOSE 8000
14
+
15
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8080"]