File size: 711 Bytes
a927335
 
 
 
ad1f3af
 
33eff38
 
a927335
 
 
ff09bbc
aa56494
a927335
 
 
 
33eff38
 
 
 
a927335
0c5f433
 
091b2d8
 
a927335
 
e855838
cce698c
3ed10eb
417d0b9
a927335
cce698c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM python:3.10-slim-buster

WORKDIR /app

RUN ls

RUN apt-get update && \
apt-get install -y --no-install-recommends git build-essential libffi-dev cmake libcurl4-openssl-dev

RUN git clone https://github.com/xAbdoAT/ChimeraGPT-WebUI.git

COPY ../ChimeraGPT-WebUI/translations translations

COPY requirements.txt requirements.txt

RUN python -m venv venv

ENV PATH="/app/venv/bin:$PATH"

RUN python -m pip install --upgrade pip && \
python -m pip install --no-cache-dir -r requirements.txt

RUN python -m pip install flask

RUN python -m pip install flask_babel

COPY . .

RUN chmod -R 777 /app/ChimeraGPT-WebUI
RUN chmod +x ./ChimeraGPT-WebUI/run.py

EXPOSE 8080

CMD ["python3", "./ChimeraGPT-WebUI/run.py"]