From 758ab3fc806ea932c06c906ac6029d358b647ce4 Mon Sep 17 00:00:00 2001 From: Markus Keil Date: Tue, 16 Jan 2024 18:11:58 +0100 Subject: [PATCH] make sure the docker image has gpg installed --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ee07043..bd8b693 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,12 +2,14 @@ FROM python:3.9-alpine LABEL authors="markus_ef" WORKDIR /usr/src/app - +RUN mkdir /var/keys && mkdir /var/bot-tmp && mkdir /var/sign-secret COPY requirements.txt ./ RUN apk add --no-cache gcc make python3-dev musl-dev libffi-dev openssl-dev && \ pip install --no-cache-dir -r requirements.txt && \ apk del gcc make python3-dev musl-dev libffi-dev openssl-dev +RUN apk add --no-cache gpg + COPY . . CMD [ "python", "./main.py" ]