Spaces:
Sleeping
Sleeping
Commit ·
08268df
1
Parent(s): 1cbf0b3
modifing dockerfile content
Browse files3 unmodified lines456789101112131415161718192021223 unmodified lines# Set working directoryWORKDIR /app# Install system dependencies (if needed for TensorFlow)RUN apt-get update && apt-get install -y \libgl1-mesa-glx \libglib2.0-0 \&& rm -rf /var/lib/apt/lists/*# Copy requirements file and install dependenciesCOPY requirements.txt .RUN pip install --no-cache-dir -r requirements.txt# Copy all application filesCOPY . .# Expose the port Hugging Face Spaces expectsEXPOSE 78603 unmodified lines4567891011121314151617181920212223242526273 unmodified lines# Set working directoryWORKDIR /app# Install Git and Git LFSRUN apt-get update && apt-get install -y \git \git-lfs \libgl1-mesa-glx \libglib2.0-0 \&& rm -rf /var/lib/apt/lists/*# Copy all files (including .gitattributes for LFS)COPY . .# Fetch LFS files explicitlyRUN git lfs install && git lfs pull# Copy requirements file and install dependenciesCOPY requirements.txt .RUN pip install --no-cache-dir -r requirements.txt# Expose the port Hugging Face Spaces expectsEXPOSE 7860
Dockerfile+9-4