Spaces:
Runtime error
Runtime error
redfernstech
commited on
Commit
•
063b1c8
1
Parent(s):
8a7957e
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -7,5 +7,8 @@ WORKDIR /excalibur
|
|
7 |
# Create a volume for your data directory (local path on your machine)
|
8 |
VOLUME ["~/excalibur-data"]
|
9 |
|
|
|
|
|
|
|
10 |
# Initialize the database (this will be run when the container starts)
|
11 |
CMD ["initdb"]
|
|
|
7 |
# Create a volume for your data directory (local path on your machine)
|
8 |
VOLUME ["~/excalibur-data"]
|
9 |
|
10 |
+
# Ensure correct permissions for the directory
|
11 |
+
RUN chmod -R 777 /excalibur
|
12 |
+
|
13 |
# Initialize the database (this will be run when the container starts)
|
14 |
CMD ["initdb"]
|