Files
lina/Dockerfile
fit2bot 091db8e6aa feat: setting email template content (#5173)
* feat: setting email template content

* perf: template list

* perf: show variable help text

* perf: custom template render to string

* perf: help text

* perf: update email template variable structure and improve formatting

* perf: Template content reset

* perf: typo MsgTemplate

* fix: email page error

* fix: package.json conflict

* perf: Update Dockerfile with new base image tag

---------

Co-authored-by: w940853815 <940853815@qq.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-09-10 16:49:14 +08:00

15 lines
401 B
Docker

FROM jumpserver/lina-base:20250910_084112 AS stage-build
ARG VERSION
ENV VERSION=$VERSION
ADD . /data
RUN --mount=type=cache,target=/usr/local/share/.cache/yarn,sharing=locked \
sed -i "s@version-dev@${VERSION}@g" src/layout/components/NavHeader/About.vue \
&& yarn build
FROM nginx:1.24-bullseye
COPY --from=stage-build /data/lina /opt/lina
COPY nginx.conf /etc/nginx/conf.d/default.conf