caronc / apprise-api

A lightweight REST framework that wraps the Apprise Notification Library
https://hub.docker.com/r/caronc/apprise
MIT License
580 stars 50 forks source link

how can update docker to latest? #88

Closed johnfelipe closed 1 year ago

johnfelipe commented 1 year ago

how can update docker to latest?

caronc commented 1 year ago

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
johnfelipe commented 1 year ago

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

in which line?

caronc commented 1 year ago

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
johnfelipe commented 1 year ago

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: @.***>

caronc commented 1 year ago

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 \
   .
johnfelipe commented 1 year ago

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 commented 1 year ago

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

caronc commented 1 year ago

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 commented 1 year ago

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