Spaces:
Running
Running
| # | |
| # SPDX-FileCopyrightText: Hadad <hadad@linuxmail.org> | |
| # SPDX-License-Identifier: Apache-2.0 | |
| # | |
| # Use a specific container image for the app | |
| FROM python:latest | |
| # Set the main working directory inside the container | |
| WORKDIR /app | |
| # Copy all files into the container | |
| COPY . . | |
| # Install all dependencies | |
| RUN pip install -r requirements.txt | |
| # Open the port so the app can be accessed | |
| EXPOSE 7860 | |
| # Start the app | |
| CMD ["python", "app.py"] |