rabil commited on
Commit
f1b3f38
·
verified ·
1 Parent(s): d51ffcb

chore: Update Dockerfile to include supervisor configuration for Redis, SRH, and user management

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -18,7 +18,10 @@ RUN mix release
18
 
19
  FROM elixir:1.13.4-slim
20
 
21
- RUN apt-get update && apt-get install -y redis-server supervisor
 
 
 
22
 
23
  WORKDIR /app
24
 
 
18
 
19
  FROM elixir:1.13.4-slim
20
 
21
+ RUN apt-get update && apt-get install -y redis-server supervisor adduser
22
+
23
+ RUN useradd -m rabil && echo "rabil:rabil" | chpasswd && adduser rabil sudo
24
+ RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
25
 
26
  WORKDIR /app
27