diff --git a/dispatcher/docker/Dockerfile b/dispatcher/docker/Dockerfile index 0c94e39b..b5c3de01 100644 --- a/dispatcher/docker/Dockerfile +++ b/dispatcher/docker/Dockerfile @@ -8,9 +8,8 @@ RUN pip install --no-cache-dir -r requirements.txt COPY ./templates /usr/app/templates COPY ./dispatcher/main.py /usr/app/src/main.py -#USER python - -#ENV FOO=BAR +RUN useradd -s /bin/bash python +USER python ENTRYPOINT [ "python", "-u" ] CMD ["main.py"]