You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
395 B
16 lines
395 B
FROM python:3.10.4-slim-bullseye
|
|
|
|
WORKDIR /app
|
|
RUN mkdir keys
|
|
RUN mkdir nagrest
|
|
COPY requirements.txt ./
|
|
COPY app/* ./
|
|
COPY lib/* ./nagrest/
|
|
COPY keys/* ./keys/
|
|
RUN pip3 install --no-cache-dir -r requirements.txt
|
|
RUN apt update && apt upgrade && apt install -y gnupg
|
|
RUN ["/bin/bash", "-c", "pwd && ls -l"]
|
|
RUN ["/bin/bash", "-c", "gpg --import /app/keys/*.asc"]
|
|
|
|
CMD [ "python3", "./main.py" ]
|