update docker build & instructions for the necessary matching user

This commit is contained in:
2023-12-03 20:11:01 -07:00
parent 01d3868b80
commit 8ccefc8b22
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -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