SoccerRAG / Docker
SushantGautam's picture
ask for INTERACTIVE_OPENAI_KEY in space
80f2e42
raw
history blame
709 Bytes
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'])"
RUN python src/database.py
COPY ./requirements.txt /code/requirements.txt
RUN pip install -r /code/requirements.txt
COPY . .
COPY ".env_demo" ".env"
RUN chmod -R 777 /code/
CMD ["chainlit", "run", "-h", "app.py", "--port", "7860"]
ENV INTERACTIVE_OPENAI_KEY=1