Spaces:
Runtime error
Runtime error
migrate: GCP to Hugging Face
Browse files- 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
|
|
|
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" ]
|