thejagstudio commited on
Commit
97c6aab
·
verified ·
1 Parent(s): f7a5c25

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -8,8 +8,11 @@ RUN apt-get update -q \
8
 
9
 
10
  WORKDIR /data/app
 
11
  COPY requirements.txt ./
12
  RUN pip install -r requirements.txt
 
 
13
  COPY . .
14
  EXPOSE 7860
15
  CMD ["python","/data/app/app.py"]
 
8
 
9
 
10
  WORKDIR /data/app
11
+
12
  COPY requirements.txt ./
13
  RUN pip install -r requirements.txt
14
+ # Download the model file
15
+ RUN wget -O /data/app/sneaker_category_predictor_v2.h5 "https://huggingface.co/thejagstudio/SneakerAI/resolve/main/sneaker_category_predictor_v2.h5?download=true"
16
  COPY . .
17
  EXPOSE 7860
18
  CMD ["python","/data/app/app.py"]