diff --git a/Dockerfile b/Dockerfile index 3bd6b447c..06fce4ea7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,6 @@ WORKDIR /app RUN pip install -r requirements.txt WORKDIR /app/litellm-proxy -EXPOSE 8000 +EXPOSE $PORT -CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "${PORT}"] \ No newline at end of file +CMD exec uvicorn main:app --host 0.0.0.0 --port $PORT \ No newline at end of file