File size: 579 Bytes
4658692
 
 
 
 
 
 
 
ab03904
4658692
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# app/Dockerfile

FROM python:3.9-slim

# Install git
RUN apt-get update && apt-get install -y \
    git \
    gcc \
    ffmpeg \
    build-essential

RUN useradd -m -u 1000 user

USER user

ENV HOME=/home/user \
	PATH=/home/user/.local/bin:$PATH

WORKDIR $HOME/app

RUN git clone https://github.com/EnPaiva93/metabook-es.git

RUN chmod 777 $HOME/app/metabook-es
 
WORKDIR $HOME/app/metabook-es

RUN pip3 install -r requirements.txt

EXPOSE 7860

ENTRYPOINT ["streamlit", "run", "--client.showSidebarNavigation=False", "Main.py", "--server.port=7860", "--server.address=0.0.0.0"]