docs: update Dockerfile

This commit is contained in:
吴阴天 2024-01-08 03:27:03 +00:00 committed by wikijs
parent 9c5386f639
commit e4e187e888

View File

@ -2,7 +2,7 @@
title: 我的Dockerfile
description:
published: true
date: 2024-01-02T12:47:54.888Z
date: 2024-01-08T03:27:00.982Z
tags: docker, 技术, code, 代码
editor: ckeditor
dateCreated: 2023-04-03T09:10:22.169Z
@ -27,3 +27,12 @@ CMD cd ocer-world \
&& cd land \
&& npm install \
&amp;&amp; hexo server -p 5000</code></pre>
<h1>imageAve</h1>
<pre><code class="language-plaintext">FROM go:latest
RUN git clone https://gitea.ocer.cc/overcast404/imageAve.git \
&amp;&amp; cd imageAve \
&amp;&amp; go mod tidy
CMD cd imageAve \
&amp;&amp; go run /api/img2color.go</code></pre>
<p>&nbsp;</p>
<p>&nbsp;</p>