FROM ubuntu # RUN echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories RUN apt install -y git RUN apt install -y software-properties-common RUN apt-add-repository ppa:swi-prolog/stable RUN apt install -y swi-prolog RUN apt install -y gcc python3-dev WORKDIR /app COPY . /app RUN pip install --no-cache-dir --upgrade pip RUN pip install --no-cache-dir --upgrade -r requirements.txt RUN python -c "import janus_swi as janus" EXPOSE 7860 ENV GRADIO_SERVER_NAME="0.0.0.0" CMD ["python", "app.py"]