Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files4 unmodified lines56789101112131415161718192021222324252627282930311632333435363722383940414 unmodified linesENV PYTHONDONTWRITEBYTECODE 1ENV PYTHONUNBUFFERED 1
# Set environment variablesENV LANG=C.UTF-8 LC_ALL=C.UTF-8ENV PATH="/home/user/.local/bin:$PATH"ENV HF_HOME="/home/user/.cache/huggingface" # Set Hugging Face cache dire
# Set the working directoryWORKDIR /app
# Install system dependencies, including libgomp#RUN apt-get update && apt-get install -y \# libgl1-mesa-glx \# libgomp1 \# libglib2.0-0 \# && rm -rf /var/lib/apt/lists/*
# Install Python, pip, and other dependenciesRUN apt-get update && apt-get install -y \ python3 \ python3-pip \ python3-dev \ libgl1-mesa-glx \ libgomp1 \ libglib2.0-0 \ libgthread-2.0-0 \ && rm -rf /var/lib/apt/lists/* && apt-get clean && rm -rf /var/lib/apt/lists/*
# Copy the requirements file into the container at /appCOPY requirements.txt /app/
# Install any needed packages specified in requirements.txtRUN pip install --no-cache-dir -r requirements.txtRUN pip3 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/uploadsDockerfile+18-2