andrewrreed HF staff commited on
Commit
c64a795
·
1 Parent(s): 77a2880

remove postgres user creation in Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -5
Dockerfile CHANGED
@@ -5,11 +5,7 @@ USER root
5
  # Install PostgreSQL and necessary dependencies
6
  RUN apk update && apk add --no-cache \
7
  postgresql \
8
- postgresql-contrib \
9
- shadow
10
-
11
- # Create postgres user and group
12
- RUN addgroup -S postgres && adduser -S -G postgres postgres
13
 
14
  # Set up environment variables
15
  ENV DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres
 
5
  # Install PostgreSQL and necessary dependencies
6
  RUN apk update && apk add --no-cache \
7
  postgresql \
8
+ postgresql-contrib
 
 
 
 
9
 
10
  # Set up environment variables
11
  ENV DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres