apprise-api icon indicating copy to clipboard operation
apprise-api copied to clipboard

how can update docker to latest?

Open johnfelipe opened this issue 3 years ago • 8 comments

how can update docker to latest?

johnfelipe avatar Jul 25 '22 15:07 johnfelipe

I'll be doing a new build soon. I'm just traveling abroad. I should be back in a week.

If you can't wait, just download the current dockerfile in this repo and add a pip install line like this before you deploy the container:

pip install git+https://github.com/caronc/apprise

caronc avatar Jul 25 '22 17:07 caronc

https://github.com/caronc/apprise-api/blob/master/Dockerfile

in which line?

johnfelipe avatar Jul 25 '22 18:07 johnfelipe

You could just copy line 22. Make a new entry below (line 23) and put:

RUN pip3 install --upgrade git+https://github.com/caronc/apprise

caronc avatar Jul 25 '22 18:07 caronc

this way

https://gist.github.com/ff7e2dd8c8f0c14e421f44d849eaa87c

and next?

El lun, 25 jul 2022 a las 13:30, Chris Caron @.***>) escribió:

You could just copy line 22. Make a new entry below (line 23) and put:

RUN pip3 install --upgrade git+https://github.com/caronc/apprise

— Reply to this email directly, view it on GitHub https://github.com/caronc/apprise-api/issues/88#issuecomment-1194455561, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADIWFEADKHAMN2FNOEW5XTVV3MNPANCNFSM54SXN23Q . You are receiving this because you authored the thread.Message ID: @.***>

johnfelipe avatar Jul 25 '22 18:07 johnfelipe

I think this should work provided you run the command in the directory you placed the Dockerfile.

docker run --name apprise \
   -p 8000:8000 \
   -v /var/lib/apprise/config:/config \
   .

caronc avatar Jul 25 '22 19:07 caronc

e7a82d097c1e caronc/apprise:latest "/usr/bin/supervisor…" 4 weeks ago Exited (255) 4 weeks ago 0.0.0.0:8000->8000/tcp, :::8000->8000/tcp apprisepermanente next

root@felipe:~/apprise-api# docker run --name apprisepermanente2 \
>    -p 8000:8000 \
>    -v /var/lib/apprise/config:/config \
>    .

show this error

docker: invalid reference format.
See 'docker run --help'.

johnfelipe avatar Jul 26 '22 00:07 johnfelipe

can u share pls full file for update apprise for latest apprise release 20 min ago?

johnfelipe avatar Aug 06 '22 18:08 johnfelipe

It's built on dockerhub now. You just need to rebuild your container (same way you did it before opening this ticket originally).

The latest source code can be found there.

caronc avatar Aug 06 '22 18:08 caronc

Closing this ticket off due to lack of response; latest version can be found on DockerHub and GitHuB

caronc avatar Nov 15 '22 22:11 caronc