mirror of
https://github.com/CERT-Polska/mailgoose.git
synced 2026-06-11 15:37:25 +02:00
20 lines
499 B
Docker
20 lines
499 B
Docker
FROM python:3.11.2-alpine
|
|
|
|
RUN apk add bash openssl git tzdata opendkim opendkim-utils
|
|
|
|
ENV TZ=Europe/Warsaw
|
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
|
|
|
WORKDIR /app/
|
|
COPY scan /scan
|
|
COPY app/requirements.txt /requirements.txt
|
|
COPY app/translations/requirements.txt /translations/requirements.txt
|
|
|
|
RUN pip install -r /requirements.txt
|
|
|
|
COPY common/wait-for-it.sh /wait-for-it.sh
|
|
COPY common/ /app/common/
|
|
|
|
COPY app/ /app/
|
|
RUN openssl rand -hex 10 > /app/build_id
|