Spaces:

POMS-QA-LogicLLM / Dockerfile
npc0's picture
Update Dockerfile
c5cde03 verified
raw
history blame
460 Bytes
FROM python:3.11-slim
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"]