Spaces:
Sleeping
Sleeping
Update Dockerfile (#1)
Browse files- Update Dockerfile (70cca5c69ce0b1d781fd67cb9bdffac24931576c)
- Dockerfile +15 -0
Dockerfile
CHANGED
@@ -2,6 +2,21 @@ FROM python:3.9
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
COPY ./requirements.txt /code/requirements.txt
|
6 |
|
7 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
5 |
+
# Install segment-anything from GitHub
|
6 |
+
RUN pip install --no-cache-dir git+https://github.com/facebookresearch/segment-anything.git
|
7 |
+
|
8 |
+
# Install Transformers from Hugging Face GitHub
|
9 |
+
RUN pip install --no-cache-dir git+https://github.com/huggingface/transformers.git
|
10 |
+
|
11 |
+
# Install datasets
|
12 |
+
RUN pip install --no-cache-dir datasets
|
13 |
+
|
14 |
+
# Install monai
|
15 |
+
RUN pip install --no-cache-dir monai
|
16 |
+
|
17 |
+
# Install patchify
|
18 |
+
RUN pip install --no-cache-dir patchify
|
19 |
+
|
20 |
COPY ./requirements.txt /code/requirements.txt
|
21 |
|
22 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|