Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files19 unmodified lines2021222324251 unmodified line2728293031323319 unmodified lineslibglib2.0-0 \&& rm -rf /var/lib/apt/lists/*# Copy the requirements file into the container at /appCOPY requirements.txt /app/1 unmodified lineRUN pip install --no-cache-dir --upgrade -r requirements.txt# Create directories for session storage and uploadsRUN mkdir -p /app/flask_sessions /app/uploads && chmod -R 777 /app/flask_sessions /app/uploads# Copy the rest of the application code to /appCOPY . /app/19 unmodified lines202122232425262728291 unmodified line3132333435363738394019 unmodified lineslibglib2.0-0 \&& rm -rf /var/lib/apt/lists/*# Set environment variables for Huggingface and Matplotlib cache directoriesENV MPLCONFIGDIR=/tmp/matplotlibENV TRANSFORMERS_CACHE=/tmp/transformers_cache# Copy the requirements file into the container at /appCOPY requirements.txt /app/1 unmodified lineRUN pip install --no-cache-dir --upgrade -r requirements.txt# Create directories for session storage and uploads#RUN mkdir -p /app/flask_sessions /app/uploads && chmod -R 777 /app/flask_sessions /app/uploads# Create directories for session storage, uploads, and cacheRUN mkdir -p /app/flask_sessions /app/uploads /tmp/matplotlib /tmp/transformers_cache && chmod -R 777 /app/flask_sessions /app/uploads /tmp/matplotlib /tmp/transformers_cache# Copy the rest of the application code to /appCOPY . /app/
Dockerfile+8-1