Skip to content

Commit

Permalink
update docker build script (#54)
Browse files Browse the repository at this point in the history
* remote Interpreter

* update Dockerfile
  • Loading branch information
moyanxinxu authored Nov 8, 2024
1 parent 36c2cb8 commit 6a36a4f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker-compose/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ COPY --from=miniconda-stage /opt/conda /opt/conda
ENV PATH="/opt/conda/bin:${PATH}"
WORKDIR /root

COPY .condarc /root/.condarc
COPY condarc /root/.condarc
COPY Dockerfile /root/dockerfile/Dockerfile
COPY pip.conf /root/.pip/pip.conf


RUN conda init bash
SHELL ["/bin/bash", "-c"]
CMD ["/bin/bash"]
File renamed without changes.
5 changes: 5 additions & 0 deletions docker-compose/start_container.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
docker run -d \
--name linux \
--mount source=/Users/moyanxinxu/Documents/unlock-hf,target=/root/Documents/unlock-hf,type=bind \
-v huggingface:/root/.cache/huggingface/ \
-it moyanxinxu/self-ubuntu-myxx:latest /bin/bash

0 comments on commit 6a36a4f

Please sign in to comment.