ClemSummer commited on
Commit
1017099
·
1 Parent(s): 9acc34b

Need to create empty artifacts folder before wget

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -7,7 +7,8 @@ RUN apt-get update && apt-get install -y wget
7
  WORKDIR /app
8
  COPY . .
9
 
10
- RUN wget https://huggingface.co/datasets/ClemSummer/clip-checkpoints/resolve/main/CLIPEncoder_40epochs_unfreeze12.pth \
 
11
  -O vit_captioning/artifacts/CLIPEncoder_40epochs_unfreeze12.pth
12
 
13
  RUN pip install --upgrade pip
 
7
  WORKDIR /app
8
  COPY . .
9
 
10
+ RUN mkdir -p vit_captioning/artifacts && \
11
+ wget https://huggingface.co/datasets/ClemSummer/clip-checkpoints/resolve/main/CLIPEncoder_40epochs_unfreeze12.pth \
12
  -O vit_captioning/artifacts/CLIPEncoder_40epochs_unfreeze12.pth
13
 
14
  RUN pip install --upgrade pip