metabook-es / Dockerfile
enpaiva's picture
Update Dockerfile
ab03904 verified
raw
history blame contribute delete
579 Bytes
# 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"]