Working on pdf creation
This commit is contained in:
@@ -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"]
|
||||
Reference in New Issue
Block a user