fix path name to sorkspace
Browse files- docker/Dockerfile +0 -1
- docker/Dockerfile-runpod +2 -2
docker/Dockerfile
CHANGED
|
@@ -11,7 +11,6 @@ WORKDIR /workspace
|
|
| 11 |
# The base image ships with `pydantic==1.8.2` which is not working
|
| 12 |
RUN python3 -m pip install -U --no-cache-dir pydantic
|
| 13 |
|
| 14 |
-
ARG REF=main
|
| 15 |
RUN mkdir axolotl
|
| 16 |
COPY . axolotl/
|
| 17 |
RUN cd axolotl && \
|
|
|
|
| 11 |
# The base image ships with `pydantic==1.8.2` which is not working
|
| 12 |
RUN python3 -m pip install -U --no-cache-dir pydantic
|
| 13 |
|
|
|
|
| 14 |
RUN mkdir axolotl
|
| 15 |
COPY . axolotl/
|
| 16 |
RUN cd axolotl && \
|
docker/Dockerfile-runpod
CHANGED
|
@@ -5,7 +5,7 @@ RUN apt install --yes --no-install-recommends openssh-server tmux && \
|
|
| 5 |
mkdir -p ~/.ssh && \
|
| 6 |
chmod 700 ~/.ssh && \
|
| 7 |
echo -e "\n[[ -z \"\$TMUX\" ]] && { tmux attach-session -t ssh_tmux || tmux new-session -s ssh_tmux; exit; }" >> ~/.bashrc && \
|
| 8 |
-
chmod +x /
|
| 9 |
|
| 10 |
-
ENTRYPOINT ["/
|
| 11 |
CMD ["sleep", "infinity"]
|
|
|
|
| 5 |
mkdir -p ~/.ssh && \
|
| 6 |
chmod 700 ~/.ssh && \
|
| 7 |
echo -e "\n[[ -z \"\$TMUX\" ]] && { tmux attach-session -t ssh_tmux || tmux new-session -s ssh_tmux; exit; }" >> ~/.bashrc && \
|
| 8 |
+
chmod +x /workspace/axolotl/scripts/runpod-entrypoint.sh
|
| 9 |
|
| 10 |
+
ENTRYPOINT ["/workspace/axolotl/scripts/runpod-entrypoint.sh"]
|
| 11 |
CMD ["sleep", "infinity"]
|