diff --git a/dockerfile b/dockerfile index dfc7f8d..d127b28 100644 --- a/dockerfile +++ b/dockerfile @@ -17,7 +17,7 @@ COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Create a non-root user -RUN addgroup -S bot && adduser -S bot -G bot +RUN groupadd -r bot && useradd -r -g bot bot # Copy the rest of the application COPY --chown=bot:bot . .