diff --git a/eyeon.Dockerfile b/eyeon.Dockerfile index 0e8e289..deb5c94 100644 --- a/eyeon.Dockerfile +++ b/eyeon.Dockerfile @@ -15,7 +15,8 @@ RUN groupadd -g $USER_ID $OUN \ RUN echo "alias build='python3 -m build'" >> /home/$OUN/.bashrc \ && echo "alias clean='rm -rf /workdir/dist'" >> /home/$OUN/.bashrc \ - && echo "alias rein='build && pip uninstall -y eyeon && pip install /workdir/dist/eyeon*.whl'" >> /home/$OUN/.bashrc + && echo "alias rein='build && pip uninstall -y eyeon && pip install /workdir/dist/eyeon*.whl'" >> /home/$OUN/.bashrc \ + && echo "alias eye='source /eye/bin/activate'" >> /home/$OUN/.bashrc RUN wget https://github.com/Kitware/CMake/releases/download/v3.30.3/cmake-3.30.3-linux-x86_64.sh \ && chmod u+x cmake-3.30.3-linux-x86_64.sh \ @@ -35,6 +36,8 @@ RUN mkdir -p /opt/die \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* +RUN python3 -m venv /eye && chown -R $OUN /eye USER $OUN + ENV PATH=/home/$OUN/.local/bin:$PATH