Spaces:
Runtime error
Runtime error
| # Use the official Python image | |
| FROM python:3.9 | |
| # Set the working directory | |
| WORKDIR /app | |
| # Copy the requirements file | |
| COPY requirements.txt requirements.txt | |
| # Copy the application code | |
| COPY app.py app.py | |
| # Clone the shap-e repository | |
| RUN git clone https://github.com/openai/shap-e.git | |
| # Install dependencies | |
| RUN pip install -r requirements.txt | |
| # Expose the desired port (same as in your app.py) | |
| EXPOSE 5000 | |
| # Set the entry point command | |
| CMD python ./app.py | |