wearevenom commited on
Commit
144e345
·
verified ·
1 Parent(s): f340db1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -15
Dockerfile CHANGED
@@ -1,16 +1,16 @@
1
- FROM python:3.10-slim
2
-
3
- # Set the working directory in the container
4
- WORKDIR /app
5
-
6
- # Copy all files into the container
7
- COPY . .
8
-
9
- # Install dependencies
10
- RUN pip install --no-cache-dir -r requirements.txt
11
-
12
- # Expose the port
13
- EXPOSE 7860
14
-
15
- # Run the FastAPI app
16
  CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "7860"]
 
1
+ FROM python:3.11-slim
2
+
3
+ # Set the working directory in the container
4
+ WORKDIR /app
5
+
6
+ # Copy all files into the container
7
+ COPY . .
8
+
9
+ # Install dependencies
10
+ RUN pip install --no-cache-dir -r requirements.txt
11
+
12
+ # Expose the port
13
+ EXPOSE 7860
14
+
15
+ # Run the FastAPI app
16
  CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "7860"]