Files

13 lines
308 B
Docker

FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY upload_to_openwebui.py .
# Command to run the script. It needs access to the source data on the host.
# We'll use a bind mount for the source data.
CMD ["python", "upload_to_openwebui.py"]