Update Dockerfile

修改一处错误
RUN重复两次 导致无法正常build
This commit is contained in:
米泽由香里 2022-10-04 03:28:10 +08:00 committed by GitHub
parent a6222f87d2
commit fd57b37cea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ RUN set -ex \
&& yarn config set cache-folder /root/.cache/yarn/lina && yarn config set cache-folder /root/.cache/yarn/lina
ADD . /data ADD . /data
RUN RUN --mount=type=cache,target=/root/.cache/yarn \ RUN --mount=type=cache,target=/root/.cache/yarn \
sed -i "s@Version <strong>.*</strong>@Version <strong>${VERSION}</strong>@g" src/layout/components/Footer/index.vue \ sed -i "s@Version <strong>.*</strong>@Version <strong>${VERSION}</strong>@g" src/layout/components/Footer/index.vue \
&& yarn install \ && yarn install \
&& yarn build && yarn build