snapshot: capture local workspace state (20251019-132103)

This commit is contained in:
Repo Bot
2025-10-19 13:21:07 +02:00
parent d22184cf70
commit 7d5005ce4e
8 changed files with 344 additions and 33 deletions

View File

@@ -30,14 +30,15 @@ COPY requirements.txt /app/requirements.txt
RUN python -m pip install --upgrade pip setuptools wheel && \
python -m pip install -r /app/requirements.txt
# Copy project
COPY . /app
# Copy only app directory and libs/so (native .so libraries for Linux)
COPY app /app/app
COPY libs/so /app/libs/so
# Ensure Python and dynamic linker will find the native libs if mounted
ENV PYTHONPATH="/app:/app/IPM_SO:/app/IPM_DLL"
ENV LD_LIBRARY_PATH="/app/IPM_SO:/app/IPM_DLL"
# Set environment variables to use libs/so for native libraries
ENV PYTHONPATH="/app"
ENV LD_LIBRARY_PATH="/app/libs/so"
EXPOSE 8001
# Default command runs uvicorn (use docker-compose override for development)
# Default command runs uvicorn
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8001"]