Spaces:

POMS-QA-LogicLLM / Dockerfile
npc0's picture
Update Dockerfile
76a9d56 verified
raw
history blame
536 Bytes
FROM ubuntu
# RUN echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories
RUN apt-get update
RUN apt-get install -y software-properties-common
RUN apt-add-repository ppa:swi-prolog/stable
RUN apt-get install -y swi-prolog
RUN apt-get install -y git 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"]