diff --git a/.drone.yml b/.drone.yml index b7af50d..1ff924e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -29,7 +29,7 @@ steps: - docker login -u $USER -p $PASS $REGISTRY - docker run --rm --privileged $REGISTRY/qemu-user-static --reset -p yes - git clone --recursive https://git.manalejandro.com/ale/libretranslate-api . - - cd LibreTranslate && docker buildx build --platform amd64 -t $REGISTRY/libretranslate-api -f ./docker/Dockerfile . + - cd LibreTranslate && docker buildx build --build-arg with_models=true --platform amd64 -t $REGISTRY/libretranslate-api -f ./docker/Dockerfile . - docker push $REGISTRY/libretranslate-api when: event: diff --git a/README.md b/README.md index 9febeb4..dd4e584 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ ### Install ``` -$ git clone --recurse-submodules https://gitlab.com/manalejandro/libretranslate-api +$ git clone --recurse-submodules https://git.manalejandro.com/ale/libretranslate-api $ cd libretranslate-api/ $ docker compose pull libretranslate-api $ docker compose build libretranslate @@ -25,7 +25,11 @@ $ curl "http://libretranslate-api:5080/?target=es&text=help" ### Latest docker images -Pull from [gitlab.com registry](https://gitlab.com/manalejandro/libretranslate-api/container_registry/) +Pull from manalejandro registry: + +``` +$ docker pull registry.manalejandro.com/libretranslate-api +``` ### License diff --git a/docker-compose.yml b/docker-compose.yml index 31d35b2..a257bc1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,6 @@ version: '3' services: libretranslate: - # image: registry.gitlab.com/manalejandro/libretranslate-api/libretranslate-api:latest image: libretranslate build: context: ./LibreTranslate