eienmojiki commited on
Commit
99d1752
1 Parent(s): fa1d147

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -7
Dockerfile CHANGED
@@ -1,11 +1,7 @@
1
- FROM postgres:14.13
2
 
3
- RUN useradd -m -u 1000 user
4
-
5
- RUN chmod 777 /usr/local/pgsql/data
6
-
7
- USER user
8
 
9
  EXPOSE 5432
10
 
11
- CMD ["postgres", "-D", "/usr/local/pgsql/data"]
 
1
+ FROM postgres:latest
2
 
3
+ RUN chmod 777 /var/lib/postgresql/data
 
 
 
 
4
 
5
  EXPOSE 5432
6
 
7
+ CMD ["postgres", "-D", "/var/lib/postgresql/data"]