Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
|
@@ -8,6 +8,7 @@ COPY . .
|
|
| 8 |
|
| 9 |
# Install dependencies from the requirements file without using cache to reduce image size
|
| 10 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
|
|
| 11 |
|
| 12 |
# Define the command to start the application using Gunicorn with 4 worker processes
|
| 13 |
# - `-w 4`: Uses 4 worker processes for handling requests
|
|
|
|
| 8 |
|
| 9 |
# Install dependencies from the requirements file without using cache to reduce image size
|
| 10 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 11 |
+
EXPOSE 7860
|
| 12 |
|
| 13 |
# Define the command to start the application using Gunicorn with 4 worker processes
|
| 14 |
# - `-w 4`: Uses 4 worker processes for handling requests
|