ashwinR commited on
Commit
88874f4
·
1 Parent(s): 6425f35

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -23,9 +23,9 @@ RUN service redis-server start
23
  RUN service postgresql start
24
 
25
  # Create user, database, and grant privileges
26
- RUN su postgres -c "psql -c \"CREATE USER postadmin WITH PASSWORD 'postpass';\""
27
- RUN su postgres -c "psql -c \"CREATE DATABASE siksalaya;\""
28
- RUN su postgres -c "psql -c \"GRANT ALL PRIVILEGES ON DATABASE siksalaya TO postadmin;\""
29
 
30
  # Set environment variables for Alembic
31
  ENV DATABASE_URL=postgresql://postadmin:postpass@localhost/siksalaya
 
23
  RUN service postgresql start
24
 
25
  # Create user, database, and grant privileges
26
+ #RUN su postgres -c "psql -c \"CREATE USER postadmin WITH PASSWORD 'postpass';\""
27
+ #RUN su postgres -c "psql -c \"CREATE DATABASE siksalaya;\""
28
+ #RUN su postgres -c "psql -c \"GRANT ALL PRIVILEGES ON DATABASE siksalaya TO postadmin;\""
29
 
30
  # Set environment variables for Alembic
31
  ENV DATABASE_URL=postgresql://postadmin:postpass@localhost/siksalaya