Applied add_venvs_to_path.sh script to local runs

This commit is contained in:
Niels Geens
2025-04-02 18:05:48 +02:00
parent ed37792b62
commit b4c08586ee
3 changed files with 12 additions and 9 deletions

View File

@@ -70,7 +70,10 @@ COPY --from=train-env /root/venvs/train /root/venvs/train
COPY --from=sia-env /root/venvs/sia /root/venvs/sia
COPY --from=web-build /app/dist /root/static/
RUN echo 'source /root/sia/scripts/add_venvs_to_path.sh' >> /root/.bashrc
RUN echo 'source /root/sia/scripts/add_venvs_to_path.sh' >> /etc/profile
WORKDIR /root/desktop
ENTRYPOINT ["/bin/bash", "-c"]
CMD ["/root/sia/scripts/install.sh; /bin/bash -lc /root/sia/scripts/restart.sh"]
CMD ["/root/sia/scripts/install.sh; /bin/bash -c /root/sia/scripts/restart.sh"]