faq / Dockerfile
kheopss's picture
Rename dockerfile to Dockerfile
5fa2648 verified
raw
history blame contribute delete
329 Bytes
FROM python:3.10
# Set the working directory
WORKDIR /app
# Copy everything into the container
COPY . .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose the port Chainlit will run on
EXPOSE 7860
# Run the Chainlit app
CMD ["chainlit", "run", "app.py", "--host", "0.0.0.0", "--port", "7860"]