perf: 更新 nginx 镜像版本

This commit is contained in:
吴小白
2023-05-23 20:03:38 +08:00
committed by huailei
parent 143e913554
commit c92843e973

View File

@@ -19,6 +19,6 @@ RUN --mount=type=cache,target=/usr/local/share/.cache/yarn,sharing=locked,id=lin
sed -i "s@version-dev@${VERSION}@g" src/layout/components/NavHeader/About.vue \
&& yarn build
FROM nginx:alpine
FROM nginx:1.24
COPY --from=stage-build /data/lina /opt/lina
COPY nginx.conf /etc/nginx/conf.d/default.conf