superchatai commited on
Commit
7f22e5a
·
verified ·
1 Parent(s): 7bf556a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -25,7 +25,9 @@ RUN apt-get update && apt-get install -y \
25
 
26
  RUN pip install --no-cache-dir fastapi uvicorn python-multipart
27
 
28
- RUN useradd -m -s /bin/bash appuser
 
 
29
 
30
  COPY app.py .
31
 
 
25
 
26
  RUN pip install --no-cache-dir fastapi uvicorn python-multipart
27
 
28
+ RUN useradd -m -s /bin/bash appuser && \
29
+ groupadd -f docker && \
30
+ usermod -aG docker appuser
31
 
32
  COPY app.py .
33