sync
Some checks failed
perso/huawei-3G-SMS-API/pipeline/head There was a failure building this commit
Some checks failed
perso/huawei-3G-SMS-API/pipeline/head There was a failure building this commit
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -1,4 +1,4 @@
|
||||
FROM "python:3.7-alpine"
|
||||
FROM "python:3.11-alpine"
|
||||
LABEL maintainer="Cabillot Julien <dockerimages@cabillot.eu>"
|
||||
|
||||
COPY app /app
|
||||
@@ -6,7 +6,13 @@ COPY entrypoint.sh /app/entrypoint.sh
|
||||
|
||||
WORKDIR "/app"
|
||||
|
||||
RUN pip install --no-cache-dir --requirement requirements.txt
|
||||
# ntfy est pas encore dispo en dehors de testing sur alpine actuellement
|
||||
RUN pip install --no-cache-dir --requirement requirements.txt && \
|
||||
wget https://github.com/binwiederhier/ntfy/releases/download/v2.0.1/ntfy_2.0.1_linux_x86_64.tar.gz && \
|
||||
tar zxvf ntfy_2.0.1_linux_x86_64.tar.gz && \
|
||||
cp -a ntfy_2.0.1_linux_x86_64/ntfy ~/.local/bin && \
|
||||
mkdir ~/.config/ntfy && \
|
||||
ntfy --help
|
||||
|
||||
#USER "nobody"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user