File size: 415 Bytes
b18a729
d1a0dbd
b18a729
d1a0dbd
 
b18a729
d1a0dbd
b18a729
 
b45dcfe
 
b18a729
 
baadf04
 
 
b18a729
 
d55acbf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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"]