sarveshpatel commited on
Commit
20bb4bd
·
verified ·
1 Parent(s): 922a0a9

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -0
Dockerfile ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM dpage/pgadmin4:latest
2
+
3
+ EXPOSE 7860
4
+
5
+ ENV PGADMIN_DEFAULT_EMAIL=admin@example.com
6
+ ENV PGADMIN_DEFAULT_PASSWORD=adminpass
7
+ ENV PGADMIN_LISTEN_PORT=7860
8
+ ENV PGADMIN_CONFIG_SERVER_MODE=True
9
+ ENV PGADMIN_CONFIG_CONSOLE_LOG_LEVEL=10
10
+
11
+ # Override startup to bind on 7860
12
+ COPY docker-run.py /pgadmin4/docker-run.py
13
+ CMD ["python", "/pgadmin4/docker-run.py"]