1 parent 227ff8f commit 42d0da3Copy full SHA for 42d0da3
1 file changed
Dockerfile.backend
@@ -8,5 +8,5 @@ RUN pip install --no-cache-dir -r requirements.txt
8
9
COPY . .
10
11
-CMD ["sh","-c","uvicorn allinone:app --host 0.0.0.0 --port $PORT"]
+CMD ["sh", "-c", "uvicorn allinone:app --host 0.0.0.0 --port ${PORT:-8000}"]
12
0 commit comments