thejagstudio commited on
Commit
ddf36a5
·
verified ·
1 Parent(s): 1107ac3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -5
Dockerfile CHANGED
@@ -1,4 +1,5 @@
1
- FROM tensorflow/tensorflow:2.12.0
 
2
  # Install Dependencies
3
  RUN apt-get update -q \
4
  && apt-get install -qy --no-install-recommends wget git libopencv-dev python3-opencv \
@@ -11,9 +12,10 @@ RUN mkdir -p /.cache && chmod -R 777 /.cache
11
  WORKDIR /data/app
12
 
13
  COPY requirements.txt ./
14
- RUN pip install -r requirements.txt
15
- # Download the model file
16
- # RUN wget -O /data/app/sneaker_category_predictor_v2.h5 "https://huggingface.co/thejagstudio/SneakerAI/resolve/main/sneaker_category_predictor_v2.h5?download=true"
17
  COPY . .
 
18
  EXPOSE 7860
19
- CMD ["python","/data/app/app.py"]
 
1
+ FROM tensorflow/tensorflow:2.18.0
2
+
3
  # Install Dependencies
4
  RUN apt-get update -q \
5
  && apt-get install -qy --no-install-recommends wget git libopencv-dev python3-opencv \
 
12
  WORKDIR /data/app
13
 
14
  COPY requirements.txt ./
15
+ RUN pip install --upgrade pip \
16
+ && pip install -r requirements.txt
17
+
18
  COPY . .
19
+
20
  EXPOSE 7860
21
+ CMD ["python", "/data/app/app.py"]