Spaces:

File size: 524 Bytes
5b4db99
4242e42
409b3ab
 
 
 
 
 
6b78a54
4242e42
a3df185
4242e42
38bc588
89e4920
 
 
4242e42
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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"]