Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +8 -13
Dockerfile
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
FROM nvcr.io/nvidia/pytorch:24.01-py3
|
2 |
|
3 |
-
# 安装系统依赖
|
4 |
RUN apt-get update && \
|
5 |
apt-get install -y \
|
6 |
wget \
|
@@ -30,21 +29,17 @@ WORKDIR /app
|
|
30 |
RUN git clone https://github.com/CraftJarvis/ROCKET-1.git && \
|
31 |
cd ROCKET-1 && \
|
32 |
git pull && \
|
33 |
-
python -m pip install
|
34 |
-
pip install -
|
35 |
-
|
36 |
-
|
37 |
-
|
|
|
38 |
|
39 |
WORKDIR /app/ROCKET-1/rocket/stark_tech
|
40 |
RUN python -c "from huggingface_hub import hf_hub_download;hf_hub_download(repo_id='phython96/ROCKET-MCP-Reborn', filename='MCP-Reborn.zip', local_dir='.')" && \
|
41 |
-
unzip -q MCP-Reborn.zip && rm MCP-Reborn.zip
|
42 |
-
|
43 |
-
WORKDIR /app/ROCKET-1/rocket/realtime_sam/checkpoints
|
44 |
-
RUN bash download_ckpts.sh
|
45 |
-
|
46 |
-
WORKDIR /app/ROCKET-1/rocket/stark_tech
|
47 |
-
RUN mkdir tmp
|
48 |
|
49 |
WORKDIR /app/ROCKET-1/rocket/arm
|
50 |
ENTRYPOINT ["python", "eval_rocket.py", "--port", "7860", "--sam-path", "/app/ROCKET-1/rocket/realtime_sam/checkpoints"]
|
|
|
1 |
FROM nvcr.io/nvidia/pytorch:24.01-py3
|
2 |
|
|
|
3 |
RUN apt-get update && \
|
4 |
apt-get install -y \
|
5 |
wget \
|
|
|
29 |
RUN git clone https://github.com/CraftJarvis/ROCKET-1.git && \
|
30 |
cd ROCKET-1 && \
|
31 |
git pull && \
|
32 |
+
python -m pip install --upgrade pip && \
|
33 |
+
pip install -e . && \
|
34 |
+
cd rocket/realtime_sam && \
|
35 |
+
pip install -e . && \
|
36 |
+
cd checkpoints && \
|
37 |
+
bash download_ckpts.sh
|
38 |
|
39 |
WORKDIR /app/ROCKET-1/rocket/stark_tech
|
40 |
RUN python -c "from huggingface_hub import hf_hub_download;hf_hub_download(repo_id='phython96/ROCKET-MCP-Reborn', filename='MCP-Reborn.zip', local_dir='.')" && \
|
41 |
+
unzip -q MCP-Reborn.zip && rm MCP-Reborn.zip && \
|
42 |
+
mkdir tmp
|
|
|
|
|
|
|
|
|
|
|
43 |
|
44 |
WORKDIR /app/ROCKET-1/rocket/arm
|
45 |
ENTRYPOINT ["python", "eval_rocket.py", "--port", "7860", "--sam-path", "/app/ROCKET-1/rocket/realtime_sam/checkpoints"]
|