morss/Dockerfile

19 lines
395 B
Docker

FROM alpine:latest
RUN apk add --no-cache python3 py3-pip py3-wheel git py3-lxml
# to solve issue with pip
RUN cat /etc/apparmor.d/local/lsb_release
RUN cat /etc/apparmor.d/lsb_release
RUN rm /etc/apparmor.d/local/lsb_release
RUN rm /etc/apparmor.d/lsb_release
ADD . /app
RUN pip3 install --no-cache-dir /app[full]
USER 1000:1000
ENTRYPOINT ["/bin/sh", "/app/docker-entry.sh"]
CMD ["run"]