Založení složky server/data, pokud neexistuje, do které je vytvořen soubor db.json

This commit is contained in:
Michal Hájek committed 2025-02-02 19:46:20 +01:00
1 parent f3af64923c
commit 89dec1c194
2 files changed
+12 -2

No files matched your search

+1 -1
View File
@@ -66,7 +66,7 @@ RUN if [ -f /server/.easter-eggs.json ]; then cp /server/.easter-eggs.json ./ser
# Export /data/db.json do složky /data
VOLUME ["/data"]
COPY /data/db.json /data/db.json
COPY /server/data/db.json /data/db.json
EXPOSE 3000