Spaces:

POMS-QA-LogicLLM / Dockerfile
npc0's picture
Update Dockerfile
41550fb verified
raw
history blame
435 Bytes
FROM swipl
RUN apt-get update
RUN apt-get install -y gcc python3-all python3-dev python3-venv
WORKDIR /app
COPY . /app
RUN python3 -m venv /app/env
ENV PATH="/app/env/bin:$PATH"
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 ["source", "env\Scripts\activate;", "python", "app.py"]