diff --git a/Dockerfile b/Dockerfile index e82f55c..4c81315 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,10 @@ -# Start your image with a node base image FROM node:22-alpine RUN npm install -g marp-ui -ADD config.json /data/config.json -VOLUME /data +VOLUME /root/Documents/MarpUI EXPOSE 3000 CMD [ "marp-ui" ] + diff --git a/config.json b/config.json deleted file mode 100644 index 33866a5..0000000 --- a/config.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "storagePath": "/data", - "autoSaveInterval": 30, - "preferredBrowser": "auto", - "defaultTheme": "default", - "mcpEnabled": false, - "editor": { - "fontSize": 14, - "tabSize": 2, - "wordWrap": true - } -} diff --git a/docker-compose.yaml b/docker-compose.yaml index 46c950d..2193488 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -5,5 +5,5 @@ services: ports: - 3000:3000 volumes: - - marp-ui:/data + - marp-ui:/root/Documents/MarpUI