Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -18,11 +18,11 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 18 |
COPY . .
|
| 19 |
|
| 20 |
# Expose the port the app runs on
|
| 21 |
-
EXPOSE
|
| 22 |
|
| 23 |
# Environment variables with defaults
|
| 24 |
ENV OPENAI_API_KEY=None
|
| 25 |
ENV ENVIRONMENT="production"
|
| 26 |
|
| 27 |
# Command to run the application
|
| 28 |
-
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "
|
|
|
|
| 18 |
COPY . .
|
| 19 |
|
| 20 |
# Expose the port the app runs on
|
| 21 |
+
EXPOSE 7860
|
| 22 |
|
| 23 |
# Environment variables with defaults
|
| 24 |
ENV OPENAI_API_KEY=None
|
| 25 |
ENV ENVIRONMENT="production"
|
| 26 |
|
| 27 |
# Command to run the application
|
| 28 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|