Move Dockerfile to root and set environment variable for config path

This commit is contained in:
coconut49
2023-10-20 12:19:29 +08:00
parent 52fdfe5819
commit be78f2ade9
+1 -1
View File
@@ -1,8 +1,8 @@
FROM python:3.10
ENV LITELLM_CONFIG_PATH="/litellm.secrets.toml"
COPY . /app
WORKDIR /app
RUN mkdir -p /root/.config/litellm/ && cp /app/secrets_template.toml /root/.config/litellm/litellm.secrets.toml
RUN pip install -r requirements.txt
WORKDIR /app/litellm/proxy