Spaces:

POMS-QA-LogicLLM / Dockerfile
npc0's picture
Update Dockerfile
6878ab3 verified
raw
history blame
389 Bytes
FROM swipl
RUN apt-get update
RUN apt-get install -y gcc python3-all python3-dev
WORKDIR /app
COPY . /app
RUN python3 -m venv /app/env
RUN source env\Scripts\activate
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"]