aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParker <contact@pkrm.dev>2025-01-20 20:33:42 -0600
committerParker <contact@pkrm.dev>2025-01-20 20:33:42 -0600
commit4a1a69e76fae77f831648c5e126c5213edc4255d (patch)
tree287eabfa9d42177aea8c1db537cbefe3cac2e69c
parent5abb3436d5c4104aa2dd4a754ba981f8fb28f137 (diff)
Add USER 1000:1000
-rw-r--r--dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/dockerfile b/dockerfile
index 3c80fef..8749cb2 100644
--- a/dockerfile
+++ b/dockerfile
@@ -8,5 +8,7 @@ WORKDIR /
COPY . .
RUN pip install -r requirements.txt
+USER 1000:1000
+
ENTRYPOINT [ "python" ]
CMD [ "-u", "code/bot.py" ] \ No newline at end of file