ashwinR commited on
Commit
3e750a5
1 Parent(s): e2a3c25

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -31,6 +31,9 @@ RUN apt-get update \
31
  # Switch to the root user
32
  USER root
33
 
 
 
 
34
  # Copy the built virtual environment from the builder stage
35
  COPY --from=builder /usr/local /usr/local
36
 
 
31
  # Switch to the root user
32
  USER root
33
 
34
+ # Create the postgres user and group
35
+ RUN groupadd -r postgres && useradd --no-log-init -r -g postgres postgres
36
+
37
  # Copy the built virtual environment from the builder stage
38
  COPY --from=builder /usr/local /usr/local
39