changed ports again

This commit is contained in:
RubenRWU
2026-03-25 13:49:30 +01:00
parent 1d5d7d6e81
commit b4e78206ed
3 changed files with 7 additions and 3 deletions

View File

@@ -2,7 +2,8 @@ FROM python:3.11-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1
PIP_NO_CACHE_DIR=1 \
PORT=8276
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
@@ -25,4 +26,4 @@ ENV ENABLE_SPEAKER_DIARIZATION=false
EXPOSE 8276
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8276"]
CMD ["sh", "-c", "uvicorn main:app --host 0.0.0.0 --port ${PORT}"]