Spaces:
Runtime error
Runtime error
new
Browse filesFiles changed (2)
- DockerfileAdded+21
- Dockerfile1.dockerfileAdded+21
123456789101112131415161718192021FROM python:3.9-slim
WORKDIR /app
# Install system dependenciesRUN apt-get update && apt-get install -y \ build-essential \ && rm -rf /var/lib/apt/lists/*
# Copy requirements first for better cachingCOPY requirements.txt .RUN pip install --no-cache-dir -r requirements.txt
# Copy the rest of the appCOPY . .
# Expose portEXPOSE 7860
# Run the appCMD ["python", "app.py"]123456789101112131415161718192021FROM python:3.9-slim
WORKDIR /app
# Install system dependenciesRUN apt-get update && apt-get install -y \ build-essential \ && rm -rf /var/lib/apt/lists/*
# Copy requirements first for better cachingCOPY requirements.txt .RUN pip install --no-cache-dir -r requirements.txt
# Copy the rest of the appCOPY . .
# Expose portEXPOSE 7860
# Run the appCMD ["python", "app.py"]DockerfileAdded+21
Dockerfile1.dockerfileAdded+21