pipelines / Dockerfile
wynai's picture
Update Dockerfile
b45dcfe verified
raw
history blame contribute delete
415 Bytes
FROM python:3.10-slim
RUN apt-get update && apt-get install -y git bash && rm -rf /var/lib/apt/lists/*
WORKDIR /app
RUN git clone https://github.com/open-webui/pipelines.git
WORKDIR /app/pipelines
RUN chmod -R 777 /app
RUN pip install --no-cache-dir -r requirements.txt
# Thiết lập biến môi trường PORT để ứng dụng chạy trên cổng 7860
ENV PORT=7860
EXPOSE 7860
CMD ["bash", "start.sh"]