bpandey23 commited on
Commit
4304bfb
1 Parent(s): aa78252

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -3
Dockerfile CHANGED
@@ -20,9 +20,6 @@ RUN curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmo
20
  # Install PostgreSQL 16 client and server
21
  RUN apt-get update && apt-get install -y postgresql-client-16 postgresql-server-dev-16
22
 
23
- # Create the PostgreSQL user and group
24
- RUN groupadd -r postgres && useradd -r -g postgres postgres
25
-
26
  # Create the PostgreSQL data directory and set permissions
27
  RUN mkdir -p /var/lib/postgresql/data && \
28
  chown -R postgres:postgres /var/lib/postgresql/data
 
20
  # Install PostgreSQL 16 client and server
21
  RUN apt-get update && apt-get install -y postgresql-client-16 postgresql-server-dev-16
22
 
 
 
 
23
  # Create the PostgreSQL data directory and set permissions
24
  RUN mkdir -p /var/lib/postgresql/data && \
25
  chown -R postgres:postgres /var/lib/postgresql/data