Spaces:
Sleeping
Sleeping
ejschwartz
commited on
Commit
·
04ad17c
1
Parent(s):
56139d4
Update model to release/0.2
Browse files- .dockerignore +1 -0
- Dockerfile +2 -2
.dockerignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
DIRTY
|
Dockerfile
CHANGED
@@ -32,9 +32,9 @@ RUN git clone -b development https://github.com/edmcman/DIRTY-ghidra /DIRTY # 11
|
|
32 |
RUN --mount=type=cache,target=/root/.cache pip install --break-system-packages --upgrade -r /DIRTY/requirements.txt
|
33 |
|
34 |
# Download the DIRTY model
|
35 |
-
RUN pip install --break-system-packages huggingface_hub[cli]
|
36 |
|
37 |
-
RUN --mount=type=cache,target=/tmp/model-dl huggingface-cli download --revision
|
38 |
|
39 |
# Set up a new user named "user"
|
40 |
RUN useradd -m -o -u 1000 user
|
|
|
32 |
RUN --mount=type=cache,target=/root/.cache pip install --break-system-packages --upgrade -r /DIRTY/requirements.txt
|
33 |
|
34 |
# Download the DIRTY model
|
35 |
+
RUN --mount=type=cache,target=/root/.cache pip install --break-system-packages huggingface_hub[cli]
|
36 |
|
37 |
+
RUN --mount=type=cache,target=/tmp/model-dl huggingface-cli download --revision release/0.2 --repo-type model ejschwartz/dirty-ghidra --local-dir /tmp/model-dl && cp -R /tmp/model-dl/data1 /DIRTY/dirty/data1
|
38 |
|
39 |
# Set up a new user named "user"
|
40 |
RUN useradd -m -o -u 1000 user
|