DIVY118 commited on
Commit
11ba115
1 Parent(s): d8e86bd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -15
Dockerfile CHANGED
@@ -1,15 +1,15 @@
1
- FROM python:3.12
2
-
3
- WORKDIR /code
4
-
5
- # Install necessary dependencies
6
- RUN pip install fastapi pygithub uvicorn rich
7
-
8
- # Grant permission for Python to create files in the entire /code directory
9
- RUN chmod -R 777 /code
10
-
11
- # Copy project files
12
- COPY . .
13
-
14
- # Run the FastAPI application
15
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
1
+ FROM python:3.12
2
+
3
+ WORKDIR /code
4
+
5
+ # Install necessary dependencies
6
+ RUN pip install fastapi pygithub uvicorn[standard] rich
7
+
8
+ # Grant permission for Python to create files in the entire /code directory
9
+ RUN chmod -R 777 /code
10
+
11
+ # Copy project files
12
+ COPY . .
13
+
14
+ # Run the FastAPI application
15
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]