Založení složky server/data, pokud neexistuje, do které je vytvořen soubor db.json
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user