File size: 464 Bytes
4fb0480
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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