KunalThakare279 commited on
Commit
765f4f7
·
verified ·
1 Parent(s): 1bfef06

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -8
Dockerfile CHANGED
@@ -9,14 +9,14 @@ ENV PYTHONUNBUFFERED=1
9
  WORKDIR /app
10
 
11
  ARG UID=10001
12
- # RUN adduser \
13
- # --disabled-password \
14
- # --gecos "" \
15
- # --home "/nonexistent" \
16
- # --shell "/sbin/nologin" \
17
- # --no-create-home \
18
- # --uid "${UID}" \
19
- # appuser
20
 
21
 
22
  # Switch to the non-privileged user to run the application.
 
9
  WORKDIR /app
10
 
11
  ARG UID=10001
12
+ RUN adduser \
13
+ --disabled-password \
14
+ --gecos "" \
15
+ --home "/nonexistent" \
16
+ --shell "/sbin/nologin" \
17
+ --no-create-home \
18
+ --uid "${UID}" \
19
+ appuser
20
 
21
 
22
  # Switch to the non-privileged user to run the application.