phuochungus commited on
Commit
49d655e
1 Parent(s): 56c1354

Add model download step to Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -21,6 +21,11 @@ RUN pip install -r ./app/requirements.txt
21
 
22
  COPY --chown=user . .
23
 
 
 
 
 
 
24
  EXPOSE 3000
25
 
26
  CMD [ "uvicorn", "app.main:app", "--host" ,"0.0.0.0" ,"--port", "3000"]
 
21
 
22
  COPY --chown=user . .
23
 
24
+ #DOWNLOAD MODEL
25
+ ENV MODEL_URL=https://hdfxssmjuydwfwarxnfe.supabase.co/storage/v1/object/public/model/best20231112.onnx
26
+
27
+ RUN ./model/download.sh
28
+
29
  EXPOSE 3000
30
 
31
  CMD [ "uvicorn", "app.main:app", "--host" ,"0.0.0.0" ,"--port", "3000"]