Files
huawei-3G-SMS-API/Dockerfile
T
renovate dab093e325
Docker Build and Push / build (pull_request) Successful in 2m44s
Pin dependencies
2026-06-09 13:46:24 +00:00

26 lines
723 B
Docker

# syntax=docker.io/docker/dockerfile:1@sha256:87999aa3d42bdc6bea60565083ee17e86d1f3339802f543c0d03998580f9cb89
FROM "python:3.11-alpine" AS pipdependencies
COPY app/requirements.txt /requirements.txt
RUN pip3 install --no-cache-dir --user --requirement requirements.txt
FROM "python:3.11-alpine"
LABEL maintainer="Cabillot Julien <dockerimages@cabillot.eu>"
# TODO: à tester
#USER "nobody"
COPY app /app
COPY entrypoint.sh /app/entrypoint.sh
WORKDIR "/app"
ENTRYPOINT [ "/app/entrypoint.sh" ]
COPY --from=binwiederhier/ntfy:v2.24.0@sha256:f8a9b104313b87cc24ae4f775f39e6328205b57dff6ede3eaf098a91e5d79f59 /usr/bin/ntfy /usr/local/bin/ntfy
RUN mkdir /etc/ntfy
COPY --from=pipdependencies /root/.local /root/.local