| # Base image | |
| FROM python:3.10 | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy files | |
| COPY . . | |
| # Install dependencies | |
| RUN pip install -r requirements.txt | |
| # Expose port | |
| EXPOSE 5000 | |
| # Command to run app | |
| CMD ["python", "app.py"] | |
| # Base image | |
| FROM python:3.10 | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy files | |
| COPY . . | |
| # Install dependencies | |
| RUN pip install -r requirements.txt | |
| # Expose port | |
| EXPOSE 5000 | |
| # Command to run app | |
| CMD ["python", "app.py"] | |