Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files1234516 unmodified lines22232425262728293031323334353637FROM python:3.10-slimRUN apt-get update && \apt-get install -y \libcrypt-dev \16 unmodified linesWORKDIR /app# Create uploads directory with correct permissionsRUN mkdir -p /app/uploads && chmod -R 777 /app/uploadsCOPY requirements.txt .RUN pip install --upgrade pipRUN pip install --no-cache-dir -r requirements.txtCOPY . .EXPOSE 7860CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"]12345616 unmodified lines2324252627282930313233343536373839FROM python:3.10-slim# Install system dependenciesRUN apt-get update && \apt-get install -y \libcrypt-dev \16 unmodified linesWORKDIR /app# Create both uploads and outputs directories with correct permissionsRUN mkdir -p /app/uploads /app/outputs && chmod -R 777 /app/uploads /app/outputsCOPY requirements.txt .RUN pip install --upgrade pipRUN pip install --no-cache-dir -r requirements.txt# Install tabula-py to fix the warningRUN pip install tabula-pyCOPY . .EXPOSE 7860CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"]
Dockerfile+6-4