blob: a9ed3e4b24e7aeef256009068ee24400b4670e96 [file] [log] [blame]
FROM python:3.7-alpine
WORKDIR /usr/src/app
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
RUN apk --no-cache --update-cache add git gcc gfortran build-base
COPY dependencies/ ./
RUN pip3 install --no-cache --upgrade pipenv && \
pipenv install --python 3.7 --system
COPY tools/ ./
RUN adduser -D loadtest -u 1000 -G users && \
chown -R 1000:100 /usr/src/app && \
mkdir -p /var/logs && \
chown -R 1000:100 /var/logs
USER loadtest
ENTRYPOINT [ "python3", "./start_test.py" ]