asv7j commited on
Commit
3c90a4a
1 Parent(s): 4105b8b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -8,5 +8,5 @@ RUN pip install fastapi requests libretranslate uvicorn[standard]==0.17.*
8
 
9
  COPY . .
10
  COPY --chown=user . /app
11
- # Start both the FastAPI app and the auxiliary process in parallel
12
- CMD ["bash", "-c", "uvicorn app:app --host 0.0.0.0 --port 7860 & python main.py --load-only hi,en"]
 
8
 
9
  COPY . .
10
  COPY --chown=user . /app
11
+ # Start both LibreTranslate and FastAPI app in parallel
12
+ CMD ["bash", "-c", "libretranslate & uvicorn app:app --host 0.0.0.0 --port 7860"]