Spaces:
Sleeping
Sleeping
File size: 543 Bytes
21804d2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# Use an official Python runtime as a parent image
FROM python:3.10-slim
# Set the working directory in the container
WORKDIR /climate-change-assistant
# Copy the current directory contents into the container
COPY . /climate-change-assistant
# Install any needed packages specified in requirements.txt
RUN pip install --no-cache-dir --upgrade -r requirements.txt
# Following instructions within HF docker file setup
COPY . .
# Run app.py when the container launches
CMD ["chainlit", "run", "app.py", "--host", "0.0.0.0", "--port", "7860"] |