Skip to content

Commit d1ee68f

Browse files
Issue#4099 Docker image optimized (#4100)
* non root user added in docerfile * Image Optimized
1 parent 5254a95 commit d1ee68f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# First stage: Build stage
2-
FROM python:latest AS build
2+
FROM python:3.9-slim AS build
33

44
WORKDIR /app
55

@@ -8,7 +8,7 @@ RUN useradd -m appuser
88
COPY . .
99

1010
# Second stage: Final stage
11-
FROM python:latest
11+
FROM python:3.9-slim
1212

1313
RUN useradd -m appuser
1414

0 commit comments

Comments
 (0)