webstat-collector/Dockerfile

15 lines
212 B
Docker
Raw Normal View History

2020-09-07 11:21:37 +02:00
FROM python:3.8-slim
USER root
RUN mkdir /tmp/build
WORKDIR /tmp/build
COPY . .
RUN SETUPTOOLS_SCM_PRETEND_VERSION=0 pip install .
WORKDIR /tmp
RUN rm -rf /tmp/build
RUN useradd --system checker
USER checker