Spaces:
Sleeping
Sleeping
| From Python 3.12.7 | |
| # Step 2: Set working directory in the container | |
| WORKDIR /app | |
| # Step 3: Copy your app files into the container | |
| COPY . /app | |
| # Step 4: Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Step 5: Expose a port (optional, but useful) | |
| EXPOSE 7860 | |
| # Step 6: Command to run your app | |
| CMD ["python", "app.py"] |