diff --git a/Dockerfile b/Dockerfile index 4c0c216efa..1e853f620e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,8 @@ EXPOSE 8089 5557 # turn off python output buffering ENV PYTHONUNBUFFERED=1 RUN useradd --create-home locust +# ensure correct permissions +RUN chown -R locust /opt/venv USER locust WORKDIR /home/locust ENTRYPOINT ["locust"]