fix add dataset
Browse files- Dockerfile +1 -1
- config.toml +1 -1
Dockerfile
CHANGED
|
@@ -35,7 +35,7 @@ RUN chmod 666 /app/readeck/config.toml
|
|
| 35 |
# Create the 'data' directory and set permissions to allow writing by any user.
|
| 36 |
# This ensures the application, even if running as a non-root user,
|
| 37 |
# can create and write files (like db.sqlite3) within this directory.
|
| 38 |
-
RUN mkdir -p /app/readeck/data && chmod 777 /app/readeck/data
|
| 39 |
|
| 40 |
# Copy sync scripts
|
| 41 |
COPY sync_storage.py /app/sync_storage.py
|
|
|
|
| 35 |
# Create the 'data' directory and set permissions to allow writing by any user.
|
| 36 |
# This ensures the application, even if running as a non-root user,
|
| 37 |
# can create and write files (like db.sqlite3) within this directory.
|
| 38 |
+
#RUN mkdir -p /app/readeck/data && chmod 777 /app/readeck/data
|
| 39 |
|
| 40 |
# Copy sync scripts
|
| 41 |
COPY sync_storage.py /app/sync_storage.py
|
config.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
[main]
|
| 2 |
log_level = "INFO"
|
| 3 |
-
data_directory = "/
|
| 4 |
|
| 5 |
[server]
|
| 6 |
host = "0.0.0.0"
|
|
|
|
| 1 |
[main]
|
| 2 |
log_level = "INFO"
|
| 3 |
+
data_directory = "/tmp/readeck/data"
|
| 4 |
|
| 5 |
[server]
|
| 6 |
host = "0.0.0.0"
|