Skip to content

Commit

Permalink
make sure the docker image has gpg installed
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticroentgen committed Jan 16, 2024
1 parent edaec43 commit 758ab3f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]

0 comments on commit 758ab3f

Please sign in to comment.