Spaces:
Runtime error
Runtime error
Commit ·
8d66f03
1
Parent(s): b3ce4dc
Change port
Browse files25 unmodified lines26272829303132331 unmodified line3536373825 unmodified linesRUN ls -l /code/output_framesENV PATH="/code/venv/bin:$PATH"# Run app.py when the container launches using the virtual environment's Python interpreter# CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8080"]# Make port 8000 available to the world outside this containerEXPOSE 80001 unmodified lineENV PYTHONUNBUFFERED=1# Run Hypercorn when the container launchesCMD ["hypercorn", "app.main:app", "--bind", "0.0.0.0:8000"]25 unmodified lines262728293031321 unmodified line3435363725 unmodified linesRUN ls -l /code/output_framesENV PATH="/code/venv/bin:$PATH"# Make port 8000 available to the world outside this containerEXPOSE 80001 unmodified lineENV PYTHONUNBUFFERED=1# Run Hypercorn when the container launchesCMD ["hypercorn", "app.main:app", "--bind", "0.0.0.0:$PORT"]
Dockerfile+2-3