Skip to content

Commit

Permalink
move user instruction into runtime layer
Browse files Browse the repository at this point in the history
  • Loading branch information
raidensakura committed Dec 23, 2023
1 parent 51d90fe commit 03d4723
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand All @@ -35,4 +33,6 @@ COPY --chown=modmail:modmail . .
# this disables the internal auto-update
ENV USING_DOCKER yes

USER modmail

CMD ["python", "bot.py"]

0 comments on commit 03d4723

Please sign in to comment.