Spaces:
Sleeping
Sleeping
fix port number compatibility
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -30,10 +30,10 @@ RUN mkdir -p /app/data
|
|
30 |
|
31 |
# Set environment variables
|
32 |
ENV PYTHONUNBUFFERED=1
|
33 |
-
ENV PORT=
|
34 |
|
35 |
# Expose the port the app runs on
|
36 |
-
EXPOSE
|
37 |
|
38 |
# Command to run the application
|
39 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
30 |
|
31 |
# Set environment variables
|
32 |
ENV PYTHONUNBUFFERED=1
|
33 |
+
ENV PORT=7860
|
34 |
|
35 |
# Expose the port the app runs on
|
36 |
+
EXPOSE 7860
|
37 |
|
38 |
# Command to run the application
|
39 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|