diff --git a/Dockerfile.app b/Dockerfile.app index 1aefd66e..c78e349a 100644 --- a/Dockerfile.app +++ b/Dockerfile.app @@ -18,9 +18,6 @@ WORKDIR /app COPY pyproject.toml uv.lock ./ RUN uv sync -# Copy Python source -COPY src/ ./src/ - # Copy sample document and warmup script COPY documents/2506.08231v1.pdf ./ COPY warm_up_docling.py ./ @@ -36,6 +33,9 @@ COPY frontend/ ./frontend/ # Build frontend RUN cd frontend && npm run build +# Copy Python source +COPY src/ ./src/ + # Create startup script RUN echo '#!/bin/bash\n\ set -e\n\ @@ -55,4 +55,4 @@ wait' > /app/start.sh && chmod +x /app/start.sh EXPOSE 3000 # Start both services -CMD ["/app/start.sh"] \ No newline at end of file +CMD ["/app/start.sh"]