Spaces:
Sleeping
Sleeping
File size: 653 Bytes
b791284 b669e90 a6033b2 b791284 a6033b2 b791284 a6033b2 b791284 a6033b2 b791284 0a01787 4c73867 763456f | 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 | FROM python:3.12-slim
RUN apt-get update && apt-get install -y libgomp1
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user \
PATH=/home/user/.local/bin:$PATH
WORKDIR $HOME/app
COPY --chown=user requirements.txt .
RUN pip install -r requirements.txt
COPY --chown=user Frez.jpg .
COPY --chown=user Main.jpg .
COPY --chown=user Toch.jpg .
COPY --chown=user model.pkl .
COPY --chown=user scaler.pkl .
COPY --chown=user df.csv .
COPY --chown=user streamlit_app.py .
EXPOSE 8501
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
CMD ["streamlit", "run", "streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"] |