diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..8c8140ffc --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM python:3.10 + +RUN pip install poetry + +WORKDIR /app + +COPY . . + +RUN pip install -r requirements.txt + +WORKDIR /app/litellm/proxy + +RUN python proxy_cli.py --config -f /app/secrets_template.toml + +RUN python proxy_cli.py \ No newline at end of file diff --git a/litellm/__pycache__/__init__.cpython-311.pyc b/litellm/__pycache__/__init__.cpython-311.pyc index a926e70b0..2c8162038 100644 Binary files a/litellm/__pycache__/__init__.cpython-311.pyc and b/litellm/__pycache__/__init__.cpython-311.pyc differ diff --git a/litellm/__pycache__/main.cpython-311.pyc b/litellm/__pycache__/main.cpython-311.pyc index af1dae3a7..0c7d22aa1 100644 Binary files a/litellm/__pycache__/main.cpython-311.pyc and b/litellm/__pycache__/main.cpython-311.pyc differ diff --git a/litellm/__pycache__/utils.cpython-311.pyc b/litellm/__pycache__/utils.cpython-311.pyc index 53af3d17f..ddeb7a440 100644 Binary files a/litellm/__pycache__/utils.cpython-311.pyc and b/litellm/__pycache__/utils.cpython-311.pyc differ diff --git a/litellm/proxy/start.sh b/litellm/proxy/start.sh new file mode 100755 index 000000000..09357679c --- /dev/null +++ b/litellm/proxy/start.sh @@ -0,0 +1,2 @@ +python3 proxy_cli.py --config -f ../../secrets_template.toml & +python3 proxy_cli.py \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 000000000..2efac63b6 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,9 @@ +openai +python-dotenv +tiktoken +importlib-metadata +tokenizers +click +jinja2 +certifi +appdirs \ No newline at end of file diff --git a/litellm/proxy/secrets_template.toml b/secrets_template.toml similarity index 100% rename from litellm/proxy/secrets_template.toml rename to secrets_template.toml