mlipaudit-leaderboard / Dockerfile
lcolonn's picture
fix: Dockerfile
a87cfd0 verified
raw
history blame contribute delete
558 Bytes
FROM python:3.11.13-slim
WORKDIR /app
RUN apt-get update && apt-get install -y \
build-essential \
curl \
git \
&& rm -rf /var/lib/apt/lists/*
COPY mlipaudit-0.1.1-py3-none-any.whl ./
RUN pip3 install ./mlipaudit-0.1.1-py3-none-any.whl
EXPOSE 8501
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
COPY run_app.sh/ ./
RUN chmod +x run_app.sh
RUN chmod 777 /app
RUN mkdir /.cache
RUN chmod 777 /.cache
RUN mkdir /.config
RUN chmod 777 /.config
RUN mkdir /.streamlit
RUN chmod 777 /.streamlit
ENTRYPOINT ["./run_app.sh"]