pygenlabs commited on
Commit
9c92850
·
verified ·
1 Parent(s): caa6f02

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +22 -22
Dockerfile CHANGED
@@ -1,22 +1,22 @@
1
- # Use an official Python runtime as a parent image
2
- FROM python:3.10-slim
3
-
4
- # Set the working directory
5
- WORKDIR /app
6
-
7
- # Copy the requirements file into the container
8
- COPY requirements.txt .
9
-
10
- # Install any needed packages
11
- # (We install torch cpu version for smaller image size if no GPU needed,
12
- # REMOVE --index-url part if you are deploying to a GPU server)
13
- RUN pip install --no-cache-dir -r requirements.txt
14
-
15
- # Copy the rest of the application code
16
- COPY . .
17
-
18
- # Expose port 8000
19
- EXPOSE 8000
20
-
21
- # Run the application
22
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
 
1
+ # # Use an official Python runtime as a parent image
2
+ # FROM python:3.10-slim
3
+
4
+ # # Set the working directory
5
+ # WORKDIR /app
6
+
7
+ # # Copy the requirements file into the container
8
+ # COPY requirements.txt .
9
+
10
+ # # Install any needed packages
11
+ # # (We install torch cpu version for smaller image size if no GPU needed,
12
+ # # REMOVE --index-url part if you are deploying to a GPU server)
13
+ # RUN pip install --no-cache-dir -r requirements.txt
14
+
15
+ # # Copy the rest of the application code
16
+ # COPY . .
17
+
18
+ # # Expose port 8000
19
+ # EXPOSE 8000
20
+
21
+ # # Run the application
22
+ # CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]