update outputs path so that we can mount workspace to /workspace/data (#1623)

* update outputs path so that we can mount workspace to /workspace/data

* fix ln order
This commit is contained in:
Wing Lian
2024-05-15 12:44:13 -04:00
committed by GitHub
parent 3319780300
commit 4fde300e5f
70 changed files with 72 additions and 69 deletions

View File

@@ -21,7 +21,9 @@ RUN apt install --yes --no-install-recommends openssh-server tmux && \
printf "\n[[ -z \"\$TMUX\" ]] && { tmux attach-session -t ssh_tmux || tmux new-session -s ssh_tmux; exit; }\n" >> ~/.bashrc && \
printf "[ ! -z \"\$TERM\" -a -r /etc/motd ] && cat /etc/motd\n" >> ~/.bashrc && \
chmod +x /workspace/axolotl/scripts/cloud-entrypoint.sh && \
chmod +x /root/cloud-entrypoint.sh
chmod +x /root/cloud-entrypoint.sh && \
mkdir -p /workspace/data/axolotl-artifacts && \
ln -sf /workspace/data/axolotl-artifacts /workspace/axolotl/outputs
ENTRYPOINT ["/root/cloud-entrypoint.sh"]
CMD ["sleep", "infinity"]