Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -1,7 +1,10 @@
|
|
1 |
# Use pgvector with Postgres 17 as the base image
|
2 |
FROM pgvector/pgvector:pg17
|
3 |
|
4 |
-
|
|
|
|
|
|
|
5 |
|
6 |
# Set environment variable for PostgreSQL password and data directory
|
7 |
ENV POSTGRES_PASSWORD=postgres
|
|
|
1 |
# Use pgvector with Postgres 17 as the base image
|
2 |
FROM pgvector/pgvector:pg17
|
3 |
|
4 |
+
USER postgres
|
5 |
+
|
6 |
+
RUN mkdir -p /data
|
7 |
+
RUN chmod 777 /data
|
8 |
|
9 |
# Set environment variable for PostgreSQL password and data directory
|
10 |
ENV POSTGRES_PASSWORD=postgres
|