mirror of
https://github.com/jumpserver/lina.git
synced 2025-07-21 02:29:05 +00:00
fix: 编译时修改版本
This commit is contained in:
parent
5cd4e5b40b
commit
a6222f87d2
@ -14,7 +14,8 @@ RUN set -ex \
|
||||
|
||||
ADD . /data
|
||||
RUN RUN --mount=type=cache,target=/root/.cache/yarn \
|
||||
yarn install \
|
||||
sed -i "s@Version <strong>.*</strong>@Version <strong>${VERSION}</strong>@g" src/layout/components/Footer/index.vue \
|
||||
&& yarn install \
|
||||
&& yarn build
|
||||
|
||||
FROM nginx:alpine
|
||||
|
Loading…
Reference in New Issue
Block a user