qihang commited on
Commit
c1e00f5
1 Parent(s): 459e9e9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -27,7 +27,6 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
27
  RUN useradd -m -u 1000 user
28
  USER user
29
 
30
- WORKDIR /home/user
31
 
32
  # RUN pip install torch==1.9.1+cu111 torchvision==0.10.1+cu111 torchaudio==0.9.1 -f https://download.pytorch.org/whl/torch_stable.html
33
  RUN pip install torch==2.0.0 torchvision==0.15.1 torchaudio==2.0.1 --index-url https://download.pytorch.org/whl/cu118
@@ -35,7 +34,11 @@ RUN pip install torch==2.0.0 torchvision==0.15.1 torchaudio==2.0.1 --index-url h
35
  COPY --chown=user . /home/user
36
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
37
 
38
- RUN wget https://www.dropbox.com/scl/fi/105qy7mkqfjcmnfd3tmv0/edit.pth?rlkey=qcd67cdrqz4jra0p3er966iuk -O clevr.pth
 
 
 
 
39
 
40
  RUN wget https://www.dropbox.com/scl/fi/k5qc5y5rmhuru5eztegbn/gradio_draggable-0.0.1-py3-none-any.whl?rlkey=fr36c5gfht4d8wwjr0bb9qu9w -O gradio_draggable-0.0.1-py3-none-any.whl
41
  RUN pip install gradio_draggable-0.0.1-py3-none-any.whl
 
27
  RUN useradd -m -u 1000 user
28
  USER user
29
 
 
30
 
31
  # RUN pip install torch==1.9.1+cu111 torchvision==0.10.1+cu111 torchaudio==0.9.1 -f https://download.pytorch.org/whl/torch_stable.html
32
  RUN pip install torch==2.0.0 torchvision==0.15.1 torchaudio==2.0.1 --index-url https://download.pytorch.org/whl/cu118
 
34
  COPY --chown=user . /home/user
35
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
36
 
37
+ ADD "https://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@api.github.com/repos/zqh0253/tmp_berf/commits?per_page=1" latest_commit
38
+ RUN git clone https://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@github.com/zqh0253/tmp_berf.git berf
39
+ WORKDIR /home/user/berf
40
+
41
+ RUN wget https://www.dropbox.com/scl/fi/61jihn8s7c9rcoyvpnjdl/new.pth?rlkey=2tlgv4vqs1kme0wb8ze1g78wo&st=6alheztd -O clevr.pth
42
 
43
  RUN wget https://www.dropbox.com/scl/fi/k5qc5y5rmhuru5eztegbn/gradio_draggable-0.0.1-py3-none-any.whl?rlkey=fr36c5gfht4d8wwjr0bb9qu9w -O gradio_draggable-0.0.1-py3-none-any.whl
44
  RUN pip install gradio_draggable-0.0.1-py3-none-any.whl