We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2490dce commit fc076a7Copy full SHA for fc076a7
Dockerfile
@@ -1,8 +1,8 @@
1
FROM python:3.11.12-slim
2
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/
3
4
-RUN groupadd bot && \
5
- useradd --gid bot --create-home bot && \
+RUN groupadd --gid 4242 bot && \
+ useradd --uid 4242 --gid bot bot --create-home && \
6
rm -rf /var/cache/* /var/log/*
7
8
USER bot
ansible/deploy-playbook.yml
@@ -65,6 +65,7 @@
65
group:
66
name: bot
67
state: present
68
+ gid: 4242
69
70
- name: Ensure 'bot' user exists
71
user:
@@ -73,6 +74,7 @@
73
74
home: /home/bot
75
create_home: yes
76
shell: /usr/sbin/nologin
77
+ uid: 4242
78
79
- name: Create registration_log.txt in bot's home directory
80
file:
0 commit comments