FROM python:3.10 RUN mkdir /opt/mollier COPY . /opt/mollier WORKDIR /opt/mollier RUN pip install --upgrade pip RUN pip install -e git+https://guillem:4373375038e09b91e5282e72342fb8d369cef8f6@git.guillemborrell.es/mollier/mollier.git@main#egg=mollier RUN pip install -r requirements.txt RUN useradd -m --system --user-group mollier RUN chown -R mollier:mollier /opt/mollier USER mollier CMD ph serve "streamlit run hello.py"