| ADD alpine-minirootfs-3.20.3-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| LABEL maintainer=Henry Hofmann <h.hofmann@pyrexx.com> |
| WORKDIR /app |
| RUN /bin/sh -c apk add --no-cache python3 py3-pip python3-dev gcc musl-dev linux-headers chromium chromium-chromedriver tzdata bash git wireguard-tools openssl cups gcompat # buildkit |
| RUN /bin/sh -c cp /usr/share/zoneinfo/Europe/Berlin /etc/localtime && echo "Europe/Berlin" > /etc/timezone # buildkit |
| COPY requirements.txt /app/requirements.txt # buildkit |
| RUN /bin/sh -c python3 -m pip install -r requirements.txt --break-system-packages # buildkit |
| COPY . /app # buildkit |
| CMD ["sh" "-c" "python3 nicible.py & python3 backend.py"] |