This commit is contained in:
parent
bdd045783c
commit
7b1101df72
@ -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:
|
||||
|
@ -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
|
||||
|
||||
|
@ -2,7 +2,6 @@ version: '3'
|
||||
|
||||
services:
|
||||
libretranslate:
|
||||
# image: registry.gitlab.com/manalejandro/libretranslate-api/libretranslate-api:latest
|
||||
image: libretranslate
|
||||
build:
|
||||
context: ./LibreTranslate
|
||||
|
Loading…
Reference in New Issue
Block a user