feat: default to html render

This commit is contained in:
Simon Ding
2024-07-30 10:08:21 +08:00
parent cff093ca98
commit ba532d406a
4 changed files with 21 additions and 15 deletions

View File

@@ -3,7 +3,7 @@ WORKDIR /app
COPY ./ui/pubspec.yaml ./ui/pubspec.lock ./
RUN flutter pub get
COPY ./ui/ ./
RUN flutter build web --no-web-resources-cdn
RUN flutter build web --no-web-resources-cdn --web-renderer html
# 打包依赖阶段使用golang作为基础镜像
FROM golang:1.22 as builder