learnable-ai / Dockerfile
ishworrsubedii's picture
UPDATE: Dockerfile
650980d
raw
history blame contribute delete
435 Bytes
FROM python:3.10-slim
WORKDIR /learnableai
COPY . /learnableai
RUN chmod -R 777 /learnableai
RUN apt-get update && apt-get install -y libgl1-mesa-glx \
build-essential \
cmake \
git \
ffmpeg&& apt-get clean && rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 7860
CMD ["python", "main.py","--host","0.0.0.0","--port","7860"]