test
This commit is contained in:
1 parent
10d0f5bad8
commit
fcb70b85f4
3 files changed
+43
-16
No files matched your search
+5
-4
@@ -1,4 +1,4 @@
|
||||
FROM python:3.12-slim-bookworm
|
||||
FROM python:3.12-slim-bookworm
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@@ -10,11 +10,12 @@ RUN apt-get update \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install Python dependencies
|
||||
COPY requirements.txt .
|
||||
COPY backend/requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Copy application code
|
||||
COPY . .
|
||||
# Copy backend code and bundled Text2SQL schema docs
|
||||
COPY backend/ .
|
||||
COPY docs /app/docs
|
||||
ENV ORACLE_HOME=/app/oracle_client/instantclient_19_31
|
||||
ENV LD_LIBRARY_PATH=/app/oracle_client/instantclient_19_31:/app/oracle_client:${LD_LIBRARY_PATH}
|
||||
|
||||
|
||||
Reference in new issue
Block a user