Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +5 -5
Dockerfile
CHANGED
@@ -45,11 +45,11 @@ COPY ./ .
|
|
45 |
RUN service redis-server start \
|
46 |
&& service postgresql start \
|
47 |
|
48 |
-
RUN pg_ctl start -D /usr/local/pgsql/data -l logfile \
|
49 |
-
&& psql -c "CREATE USER postadmin WITH PASSWORD 'postpass';" \
|
50 |
-
&& psql -c "CREATE DATABASE siksalaya;" \
|
51 |
-
&& psql -c "GRANT ALL PRIVILEGES ON DATABASE siksalaya TO postadmin;" \
|
52 |
-
&& pg_ctl stop -D /usr/local/pgsql/data
|
53 |
|
54 |
|
55 |
# Start the FastAPI app using Uvicorn
|
|
|
45 |
RUN service redis-server start \
|
46 |
&& service postgresql start \
|
47 |
|
48 |
+
#RUN pg_ctl start -D /usr/local/pgsql/data -l logfile \
|
49 |
+
# && psql -c "CREATE USER postadmin WITH PASSWORD 'postpass';" \
|
50 |
+
# && psql -c "CREATE DATABASE siksalaya;" \
|
51 |
+
# && psql -c "GRANT ALL PRIVILEGES ON DATABASE siksalaya TO postadmin;" \
|
52 |
+
# && pg_ctl stop -D /usr/local/pgsql/data
|
53 |
|
54 |
|
55 |
# Start the FastAPI app using Uvicorn
|