File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,10 @@ FROM python:3.11-slim as runtime
2929
3030WORKDIR /app
3131
32+ ARG LOG_LEVEL
33+
34+ ENV LOG_LEVEL=$LOG_LEVEL
35+
3236ENV VIRTUAL_ENV=/app/.venv \
3337 PATH="/app/.venv/bin:$PATH"
3438
Original file line number Diff line number Diff line change @@ -48,13 +48,16 @@ ARG UNSTRUCTURED_API_URL
4848ARG VECTOR_DATABASE_API_KEY
4949ARG VECTOR_DATABASE
5050ARG VECTOR_DATABASE_URL
51+ ARG LOGGING_LEVEL
5152# Set ENV variables
5253ENV IS_RELEASE=$RELEASE
5354ENV UNSTRUCTURED_API_URL=$UNSTRUCTURED_API_URL
5455ENV UNSTRUCTURED_API_KEY=$UNSTRUCTURED_API_KEY
5556ENV VECTOR_DATABASE_API_KEY=$VECTOR_DATABASE_API_KEY
5657ENV VECTOR_DATABASE=$VECTOR_DATABASE
5758ENV VECTOR_DATABASE_URL=$VECTOR_DATABASE_URL
59+ ENV LOGGING_LEVEL=$LOGGING_LEVEL
60+
5861# Copy from builder step
5962COPY --from=builder /usr/local/src/vector-db-proxy/target/release/vector-db-proxy /app/vector-db-proxy-release
6063COPY --from=builder /usr/local/src/vector-db-proxy/target/debug/vector-db-proxy /app/vector-db-proxy-debug
You can’t perform that action at this time.
0 commit comments