File size: 469 Bytes
780bc69
 
1fe0b70
 
 
 
 
780bc69
 
e0bd56d
 
 
780bc69
e0bd56d
780bc69
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM python:3.9

# Install SWI-Prolog for neural-symbolic parsing
RUN apt-get update && apt-get install -y \
    swi-prolog \
    && rm -rf /var/lib/apt/lists/*

WORKDIR /code

# Upgrade pip and install build tools
RUN pip install --no-cache-dir --upgrade pip setuptools wheel

COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

COPY . .

EXPOSE 7860

CMD ["streamlit", "run", "apertus_ui.py", "--server.port=7860", "--server.address=0.0.0.0"]