improve dockerfile
This commit is contained in:
parent
8d9f559a64
commit
640f709306
1 changed files with 4 additions and 4 deletions
|
|
@ -18,9 +18,6 @@ WORKDIR /app
|
||||||
COPY pyproject.toml uv.lock ./
|
COPY pyproject.toml uv.lock ./
|
||||||
RUN uv sync
|
RUN uv sync
|
||||||
|
|
||||||
# Copy Python source
|
|
||||||
COPY src/ ./src/
|
|
||||||
|
|
||||||
# Copy sample document and warmup script
|
# Copy sample document and warmup script
|
||||||
COPY documents/2506.08231v1.pdf ./
|
COPY documents/2506.08231v1.pdf ./
|
||||||
COPY warm_up_docling.py ./
|
COPY warm_up_docling.py ./
|
||||||
|
|
@ -36,6 +33,9 @@ COPY frontend/ ./frontend/
|
||||||
# Build frontend
|
# Build frontend
|
||||||
RUN cd frontend && npm run build
|
RUN cd frontend && npm run build
|
||||||
|
|
||||||
|
# Copy Python source
|
||||||
|
COPY src/ ./src/
|
||||||
|
|
||||||
# Create startup script
|
# Create startup script
|
||||||
RUN echo '#!/bin/bash\n\
|
RUN echo '#!/bin/bash\n\
|
||||||
set -e\n\
|
set -e\n\
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue