Doc: update

This commit is contained in:
街角小林
2024-04-12 17:41:45 +08:00
parent aeda3924a0
commit 5730a7aed5
2 changed files with 2 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ docker run -d -p 8080:80 wanglin/mind-map:latest
该镜像使用 `Nginx` 部署应用,会在 `80` 端口提供访问。页面未找到 或 404 错误会返回 `index.html`
可以自己打包镜像,项目根目录下提供了 `Dockerfile``nginx.conf` 文件,你可以根据自己的需求来修改。
如果你想改为其他端口或者配置https那么你可以自己打包镜像,项目根目录下提供了 `Dockerfile``nginx.conf` 文件,根据自己的需求来修改。
首先需要在本地打包 `web` 项目:

View File

@@ -44,7 +44,7 @@ npm link simple-mind-map
<pre class="hljs"><code>docker run -d -p 8080:80 wanglin/mind-map:latest
</code></pre>
<p>该镜像使用 <code>Nginx</code> 部署应用会在 <code>80</code> 端口提供访问页面未找到 404 错误会返回 <code>index.html</code></p>
<p>可以自己打包镜像项目根目录下提供了 <code>Dockerfile</code> <code>nginx.conf</code> 文件你可以根据自己的需求来修改</p>
<p>如果你想改为其他端口或者配置https那么你可以自己打包镜像项目根目录下提供了 <code>Dockerfile</code> <code>nginx.conf</code> 文件根据自己的需求来修改</p>
<p>首先需要在本地打包 <code>web</code> 项目</p>
<pre class="hljs"><code><span class="hljs-built_in">cd</span> web
npm run build