File size: 719 Bytes
30960df
 
 
 
 
3e34a17
 
30960df
 
 
 
 
 
 
 
15c535c
4055f3a
 
30960df
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM python:3.11
RUN useradd -m -u 1000 user

WORKDIR /code

# RUN pip install soccernet
# RUN python -c "from SoccerNet.Downloader import SoccerNetDownloader; mySoccerNetDownloader = SoccerNetDownloader(LocalDirectory='data/dataset/SoccerNet'); mySoccerNetDownloader.downloadGames(files=['Labels-caption.json'], split=['train', 'valid', 'test']); mySoccerNetDownloader.downloadGames(files=['Labels-v2.json'], split=['train', 'valid', 'test'])"

COPY ./requirements.txt /code/requirements.txt


RUN pip install   -r /code/requirements.txt

COPY . .

# RUN python ./src/database.py


COPY ".env_demo" ".env"

RUN chmod -R 777 /code/

CMD ["chainlit", "run", "-h", "app.py", "--port", "7860"]
ENV INTERACTIVE_OPENAI_KEY=1