faster build
All checks were successful
perso/huawei-3G-SMS-API/pipeline/head This commit looks good
All checks were successful
perso/huawei-3G-SMS-API/pipeline/head This commit looks good
This commit is contained in:
parent
6da29cf9d8
commit
71ac3df236
10
Dockerfile
10
Dockerfile
@ -1,10 +1,4 @@
|
||||
# ntfy est pas encore dispo en dehors de testing sur alpine actuellement
|
||||
FROM "python:3.11-alpine" AS dlntfy
|
||||
|
||||
RUN wget https://github.com/binwiederhier/ntfy/releases/download/v2.0.1/ntfy_2.0.1_linux_armv7.tar.gz && \
|
||||
tar zxvf ntfy_2.0.1_linux_armv7.tar.gz && \
|
||||
mv ntfy_2.0.1_linux_armv7/ntfy /usr/local/bin/ && \
|
||||
ntfy --help
|
||||
# syntax=docker.io/docker/dockerfile:1
|
||||
|
||||
FROM "python:3.11-alpine" AS pipdependencies
|
||||
|
||||
@ -25,7 +19,7 @@ WORKDIR "/app"
|
||||
|
||||
ENTRYPOINT [ "/app/entrypoint.sh" ]
|
||||
|
||||
COPY --from=dlntfy /usr/local/bin/ntfy /usr/local/bin/ntfy
|
||||
COPY --from=binwiederhier/ntfy:v2.0.1 /usr/bin/ntfy /usr/local/bin/ntfy
|
||||
RUN mkdir /etc/ntfy
|
||||
|
||||
COPY --from=pipdependencies /root/.local /root/.local
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user