banao-tech commited on
Commit
ea55b1a
·
verified ·
1 Parent(s): 97eca2c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -3
Dockerfile CHANGED
@@ -35,9 +35,7 @@ RUN mkdir -p /app/{weights,imgs} && \
35
  # Application code
36
  COPY main.py utils.py download_models.py ./ # Copy your app code
37
  COPY util ./util # Copy the util folder
38
-
39
- # Ensure weights folder is also copied
40
- COPY weights /app/weights # Ensure the weights folder with models is copied
41
 
42
  # Download models if needed
43
  RUN python3 download_models.py
 
35
  # Application code
36
  COPY main.py utils.py download_models.py ./ # Copy your app code
37
  COPY util ./util # Copy the util folder
38
+ COPY ./weights /app/weights # Corrected path for weights folder
 
 
39
 
40
  # Download models if needed
41
  RUN python3 download_models.py