wip deepseek train
This commit is contained in:
14
Dockerfile
14
Dockerfile
@@ -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"]
|
||||
Reference in New Issue
Block a user