flowAI_API-duplicated / Dockerfile
zain2003's picture
Duplicate from deCoold/flowAI_API
4fb0480
raw
history blame contribute delete
464 Bytes
# 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