wip deepseek train

This commit is contained in:
Niels Geens
2025-03-03 16:57:04 +01:00
parent b64f8d7d33
commit 3ea3239a9b
21 changed files with 175 additions and 7058 deletions

View File

@@ -64,19 +64,15 @@ RUN npm run build
# Final image
FROM base
# Copy virtual environments (these layers only change if setup.py files change)
COPY --from=itb-env /root/venvs/itb /root/venvs/itb
COPY --from=train-env /root/venvs/train /root/venvs/train
COPY --from=sia-env /root/venvs/sia /root/venvs/sia
# Copy source code and scripts (these change frequently but don't affect venv layers)
COPY --from=itb-env /root/sia/tools/itb /root/sia/tools/itb
COPY --from=train-env /root/sia/tools/train /root/sia/tools/train
COPY --from=sia-env /root/sia /root/sia
COPY --from=web-build /app/dist /root/static/
RUN echo 'for venv in /root/venvs/*/bin; do PATH="$venv:$PATH"; done' >> /etc/profile && \
echo 'export PATH' >> /etc/profile
RUN for venv in /root/venvs/*/bin; do \
echo "export PATH=\"$venv:\$PATH\"" >> /etc/profile.d/sia.sh ; \
done
WORKDIR /root/desktop
CMD ["/bin/bash", "-l", "-c", "/root/sia/scripts/restart.sh"]
ENTRYPOINT ["/bin/bash", "-l", "-c"]
CMD ["/root/sia/scripts/restart.sh"]