eienmojiki
commited on
Commit
•
99d1752
1
Parent(s):
fa1d147
Update Dockerfile
Browse files- Dockerfile +3 -7
Dockerfile
CHANGED
@@ -1,11 +1,7 @@
|
|
1 |
-
FROM postgres:
|
2 |
|
3 |
-
RUN
|
4 |
-
|
5 |
-
RUN chmod 777 /usr/local/pgsql/data
|
6 |
-
|
7 |
-
USER user
|
8 |
|
9 |
EXPOSE 5432
|
10 |
|
11 |
-
CMD ["postgres", "-D", "/
|
|
|
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"]
|