tebakaja commited on
Commit
9af0a66
·
1 Parent(s): 171c5ff

migrate: GCP to Hugging Face

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -3
Dockerfile CHANGED
@@ -20,8 +20,6 @@ COPY --chown=user . /etc/docpet_backend_service/
20
 
21
  RUN wget -O /etc/docpet_backend_service/ml_models/model.h5 https://github.com/belajarqywok/mbadhog/raw/main/model.h5
22
 
23
- RUN alembic upgrade head
24
-
25
  EXPOSE 7860
26
 
27
- CMD [ "uvicorn app:app --host 0.0.0.0 --port 7860 --workers 30" ]
 
20
 
21
  RUN wget -O /etc/docpet_backend_service/ml_models/model.h5 https://github.com/belajarqywok/mbadhog/raw/main/model.h5
22
 
 
 
23
  EXPOSE 7860
24
 
25
+ CMD [ "alembic upgrade head && uvicorn app:app --host 0.0.0.0 --port 7860 --workers 10" ]