diff --git a/Dockerfile b/Dockerfile index 71f7aba925..836f5a9fab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,8 +16,6 @@ FROM base as builder RUN apk add build-base libffi-dev -USER modmail - RUN python -m venv $VIRTUAL_ENV COPY --chown=modmail:modmail requirements.txt . @@ -35,4 +33,6 @@ COPY --chown=modmail:modmail . . # this disables the internal auto-update ENV USING_DOCKER yes +USER modmail + CMD ["python", "bot.py"]