fix path name to sorkspace

This commit is contained in:
Wing Lian
2023-05-08 11:20:03 -04:00
parent 79deb35c68
commit 807cca81c0
2 changed files with 2 additions and 3 deletions

View File

@@ -11,7 +11,6 @@ WORKDIR /workspace
# The base image ships with `pydantic==1.8.2` which is not working
RUN python3 -m pip install -U --no-cache-dir pydantic
ARG REF=main
RUN mkdir axolotl
COPY . axolotl/
RUN cd axolotl && \

View File

@@ -5,7 +5,7 @@ RUN apt install --yes --no-install-recommends openssh-server tmux && \
mkdir -p ~/.ssh && \
chmod 700 ~/.ssh && \
echo -e "\n[[ -z \"\$TMUX\" ]] && { tmux attach-session -t ssh_tmux || tmux new-session -s ssh_tmux; exit; }" >> ~/.bashrc && \
chmod +x /workdir/axolotl/scripts/runpod-entrypoint.sh
chmod +x /workspace/axolotl/scripts/runpod-entrypoint.sh
ENTRYPOINT ["/workdir/axolotl/scripts/runpod-entrypoint.sh"]
ENTRYPOINT ["/workspace/axolotl/scripts/runpod-entrypoint.sh"]
CMD ["sleep", "infinity"]