diff --git a/Dockerfile b/Dockerfile index e18d5d979..39d88d4eb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,9 +47,19 @@ COPY --from=builder /wheels/ /wheels/ # Install the built wheel using pip; again using a wildcard if it's the only file RUN pip install *.whl /wheels/* --no-index --find-links=/wheels/ && rm -f *.whl && rm -rf /wheels +# Generate prisma client +RUN prisma generate RUN chmod +x entrypoint.sh EXPOSE 4000/tcp -ENTRYPOINT ["litellm"] -CMD ["--port", "4000", "--config", "./proxy_server_config.yaml", "--detailed_debug"] \ No newline at end of file +# # Set your entrypoint and command +RUN echo "app contents" + +# List contents of /app +RUN ls -la /app + + +ENTRYPOINT ["python3", "/app/litellm/proxy/proxy_cli.py"] + +CMD ["--port", "4000"] diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.py index 1154cf816..664dabd10 100644 --- a/litellm/proxy/proxy_server.py +++ b/litellm/proxy/proxy_server.py @@ -2859,6 +2859,7 @@ async def user_auth(request: Request): @app.get("/google-login/key/generate", tags=["experimental"]) async def google_login(request: Request): + GOOGLE_REDIRECT_URI = os.getenv("GOOGLE_REDIRECT_URI") GOOGLE_CLIENT_ID = ( "246483686424-clje5sggkjma26ilktj6qssakqhoon0m.apps.googleusercontent.com" @@ -2870,7 +2871,6 @@ async def google_login(request: Request): @app.get("/google-callback", tags=["experimental"], response_model=GenerateKeyResponse) async def google_callback(code: str, request: Request): import httpx - GOOGLE_REDIRECT_URI = os.getenv("GOOGLE_REDIRECT_URI") GOOGLE_CLIENT_ID = ( "246483686424-clje5sggkjma26ilktj6qssakqhoon0m.apps.googleusercontent.com"