Anew51 / Dockerfile
Reiner4's picture
Duplicate from doctord98/extras
3aa87fd
raw history blame
No virus
438 Bytes
FROM python:3.10
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
RUN mkdir /.cache && chmod -R 777 /.cache
RUN mkdir .chroma && chmod -R 777 .chroma
COPY . .
RUN chmod -R 777 /app
RUN --mount=type=secret,id=password,mode=0444,required=true \
cat /run/secrets/password > /test
EXPOSE 7860
CMD ["python", "server.py", "--cpu", "--enable-modules=caption,summarize,classify,silero-tts,edge-tts,chromadb"]