Dockerfile 299 B

123456789101112
  1. FROM python:alpine
  2. WORKDIR /opt/txt2mail
  3. ENV HOME /opt/txt2mail
  4. COPY ./data/opt/txt2mail/bin/requirements.txt ./bin/
  5. RUN chown -R 1000:1000 . \
  6. && adduser -h /opt/txtmail -s /bin/sh -H -D -u 1000 txt2mail \
  7. && pip install --no-cache-dir -r ./bin/requirements.txt
  8. VOLUME /opt/txt2mail