Working on pdf creation

This commit is contained in:
2025-09-30 22:58:51 +02:00
parent 06549c0d02
commit 62c7e46a88
10 changed files with 156 additions and 7 deletions

View File

@@ -12,10 +12,14 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
texlive-xetex \
&& rm -rf /var/lib/apt/lists/*
# Copy requirements and install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Change the user
USER 1002:1002
# Copy application code
COPY . .
@@ -24,5 +28,6 @@ ENV PYTHONPATH=/app
# Expose port
EXPOSE 8000
# Command will be overridden by docker-compose
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]