cloud-rag-webhook / Dockerfile
Ultronprime's picture
Upload Dockerfile with huggingface_hub
b2eeb78 verified
raw
history blame
404 Bytes
FROM python:3.9-slim
WORKDIR /app
# Install git
RUN apt-get update && apt-get install -y git
# Clone the repository
RUN git clone https://github.com/Daanworg/cloud-rag-webhook.git /app
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose the port the app runs on
EXPOSE 7860
# Set environment variables
ENV PORT=7860
# Command to run the app
CMD ["python", "app.py"]