OneMoss commited on
Commit
5564893
·
verified ·
1 Parent(s): 92bf3da

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -0
Dockerfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 8080
14
+
15
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8080"]
16
+