Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files12 unmodified lines131415161718192021222324252627282930313233343536373839404112 unmodified lines# 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 \&& 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 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/uploads12 unmodified lines13141516171819202122232425262728293012 unmodified lines# Set the working directoryWORKDIR /appInstall system dependencies, including libgompRUN apt-get update && apt-get install -y \libgl1-mesa-glx \libgomp1 \libglib2.0-0 \&& 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 --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
Dockerfile+3-14