All checks were successful
Gitea Docker Redeploy / Redploy-App-on-self-via-SSH (push) Successful in 1m18s
23 lines
538 B
Docker
23 lines
538 B
Docker
FROM python:3.12
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -y firefox-esr
|
|
RUN apt-get install -y ffmpeg
|
|
RUN apt-get install -y espeak
|
|
RUN apt-get install -y flite
|
|
|
|
#RUN curl https://ollama.ai/install.sh | sh
|
|
#RUN ollama run llama2
|
|
WORKDIR /code
|
|
|
|
COPY requirements.txt /code/requirements.txt
|
|
#RUN pip3 install --no-cache-dir --upgrade -r requirements.txt
|
|
RUN pip3 install --no-cache-dir -r requirements.txt
|
|
|
|
|
|
COPY . .
|
|
|
|
ENTRYPOINT ["python3", "/code/app.py"]
|
|
#ENTRYPOINT ["fastapi", "run", "main.py", "--port", "8000"]
|
|
|