Spaces:
Sleeping
Sleeping
sijiezhao
commited on
Commit
·
72b7b1c
1
Parent(s):
f538838
update
Browse files- Dockerfile +5 -7
Dockerfile
CHANGED
@@ -8,12 +8,12 @@ RUN apt-get update && apt-get install -y screen git git-lfs
|
|
8 |
RUN git lfs install
|
9 |
|
10 |
# Copy the current directory contents into the container at /code
|
11 |
-
COPY ./requirements.txt /code/requirements.txt
|
12 |
-
RUN cat /code/requirements.txt
|
13 |
|
14 |
# Install requirements.txt
|
15 |
# RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
16 |
-
RUN pip install -r /code/requirements.txt
|
17 |
|
18 |
# Set up a new user named "user" with user ID 1000
|
19 |
RUN useradd -m -u 1000 user
|
@@ -31,12 +31,10 @@ COPY --chown=user . $HOME/app
|
|
31 |
|
32 |
RUN git clone https://github.com/AILab-CVC/SEED.git
|
33 |
|
34 |
-
# RUN ls -lh
|
35 |
-
|
36 |
-
# RUN ls -lh SEED
|
37 |
-
|
38 |
RUN mv SEED/* . && rm -rf SEED
|
39 |
|
|
|
|
|
40 |
# RUN git clone https://huggingface.co/AILab-CVC/SEED
|
41 |
|
42 |
# RUN ls -l
|
|
|
8 |
RUN git lfs install
|
9 |
|
10 |
# Copy the current directory contents into the container at /code
|
11 |
+
# COPY ./requirements.txt /code/requirements.txt
|
12 |
+
# RUN cat /code/requirements.txt
|
13 |
|
14 |
# Install requirements.txt
|
15 |
# RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
16 |
+
# RUN pip install -r /code/requirements.txt
|
17 |
|
18 |
# Set up a new user named "user" with user ID 1000
|
19 |
RUN useradd -m -u 1000 user
|
|
|
31 |
|
32 |
RUN git clone https://github.com/AILab-CVC/SEED.git
|
33 |
|
|
|
|
|
|
|
|
|
34 |
RUN mv SEED/* . && rm -rf SEED
|
35 |
|
36 |
+
RUN pip install -r requirements.txt
|
37 |
+
|
38 |
# RUN git clone https://huggingface.co/AILab-CVC/SEED
|
39 |
|
40 |
# RUN ls -l
|