Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -14,10 +14,10 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
14 |
COPY --chown=user . /app
|
15 |
|
16 |
# Set environment variables
|
17 |
-
ENV PORT=
|
18 |
|
19 |
# Expose the port
|
20 |
EXPOSE ${PORT}
|
21 |
|
22 |
# Run the application
|
23 |
-
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "
|
|
|
14 |
COPY --chown=user . /app
|
15 |
|
16 |
# Set environment variables
|
17 |
+
ENV PORT=7860
|
18 |
|
19 |
# Expose the port
|
20 |
EXPOSE ${PORT}
|
21 |
|
22 |
# Run the application
|
23 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|