KunalThakare279 commited on
Commit
9252613
·
verified ·
1 Parent(s): b5f1d86

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +11 -11
Dockerfile CHANGED
@@ -8,26 +8,26 @@ ENV PYTHONUNBUFFERED=1
8
 
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.
23
- USER appuser
24
 
25
  # Copy the source code into the container.
26
  COPY . .
27
  COPY . .env
28
 
29
  RUN
30
- --mount=type=bind,source=requirements.txt,target=requirements.txt \
31
  python -m pip install -r requirements.txt
32
 
33
  # Expose the port that the application listens on.
 
8
 
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.
23
+ # USER appuser
24
 
25
  # Copy the source code into the container.
26
  COPY . .
27
  COPY . .env
28
 
29
  RUN
30
+ # --mount=type=bind,source=requirements.txt,target=requirements.txt \
31
  python -m pip install -r requirements.txt
32
 
33
  # Expose the port that the application listens on.