Spaces:
Build error
Build error
Update Dockerfile
Browse files- 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
|