Skip to content

Commit 42d0da3

Browse files
committed
added default port for dockerfile
1 parent 227ff8f commit 42d0da3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile.backend

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ RUN pip install --no-cache-dir -r requirements.txt
88

99
COPY . .
1010

11-
CMD ["sh","-c","uvicorn allinone:app --host 0.0.0.0 --port $PORT"]
11+
CMD ["sh", "-c", "uvicorn allinone:app --host 0.0.0.0 --port ${PORT:-8000}"]
1212

0 commit comments

Comments
 (0)