update docker build & instructions for the necessary matching user
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ RUN apk del .build-deps
|
||||
FROM python:3.8-alpine3.18 as production
|
||||
|
||||
# Create a user to run our application
|
||||
RUN adduser -D myuser
|
||||
RUN adduser -D myuser -u 1000
|
||||
|
||||
# Copy the dependencies and installed packages from the builder image
|
||||
WORKDIR /app
|
||||
|
||||
Reference in New Issue
Block a user