Spaces:
Runtime error
Runtime error
Leandro Artaza
commited on
Commit
•
4f7da96
1
Parent(s):
0828a7b
Cambiar port
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -23,8 +23,8 @@ RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
|
|
23 |
# Copy the content of the local src directory to the working directory
|
24 |
COPY . .
|
25 |
|
26 |
-
# Make port
|
27 |
-
|
28 |
|
29 |
# Command to run the application
|
30 |
-
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "
|
|
|
23 |
# Copy the content of the local src directory to the working directory
|
24 |
COPY . .
|
25 |
|
26 |
+
# Make port X available to the world outside this container
|
27 |
+
EXPOSE 5000
|
28 |
|
29 |
# Command to run the application
|
30 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "5000"]
|