Spaces:
Sleeping
Sleeping
Commit
·
9260415
1
Parent(s):
90781d5
Adapt Docker file to run first app
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -16,4 +16,4 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
16 |
# Again, ensure the copied files are owned by 'user'
|
17 |
COPY --chown=user . /app
|
18 |
# Specify the command to run when the container starts
|
19 |
-
CMD ["uvicorn", "
|
|
|
16 |
# Again, ensure the copied files are owned by 'user'
|
17 |
COPY --chown=user . /app
|
18 |
# Specify the command to run when the container starts
|
19 |
+
CMD ["uvicorn", "app_hello_world.main:app", "--host", "0.0.0.0", "--port", "7860"]
|