Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -55,4 +55,4 @@ RUN pip install --no-cache-dir \
|
|
| 55 |
# FastAPI ์ ํ๋ฆฌ์ผ์ด์
์คํ
|
| 56 |
# --host 0.0.0.0: ๋ชจ๋ ๋คํธ์ํฌ ์ธํฐํ์ด์ค์์ ์ ๊ทผ ํ์ฉ
|
| 57 |
# --port 7860: ์ ํ๋ฆฌ์ผ์ด์
์ด ์์ ํ ํฌํธ (Render๋ $PORT ํ๊ฒฝ ๋ณ์๋ฅผ ์ฌ์ฉํ์ง๋ง, Dockerfile์์๋ ๊ณ ์ ํฌํธ ์ค์ )
|
| 58 |
-
CMD ["uvicorn", "
|
|
|
|
| 55 |
# FastAPI ์ ํ๋ฆฌ์ผ์ด์
์คํ
|
| 56 |
# --host 0.0.0.0: ๋ชจ๋ ๋คํธ์ํฌ ์ธํฐํ์ด์ค์์ ์ ๊ทผ ํ์ฉ
|
| 57 |
# --port 7860: ์ ํ๋ฆฌ์ผ์ด์
์ด ์์ ํ ํฌํธ (Render๋ $PORT ํ๊ฒฝ ๋ณ์๋ฅผ ์ฌ์ฉํ์ง๋ง, Dockerfile์์๋ ๊ณ ์ ํฌํธ ์ค์ )
|
| 58 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|