changed ports again
This commit is contained in:
@@ -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}"]
|
||||
|
||||
@@ -3,6 +3,8 @@ services:
|
||||
build: .
|
||||
ports:
|
||||
- "8276:8276"
|
||||
environment:
|
||||
PORT: 8276
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user