diff --git a/server/Dockerfile b/server/Dockerfile index a7bac0a..ad23948 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -12,6 +12,7 @@ RUN apt-get update && apt-get install -y libssl1.1 && rm -rf /var/lib/apt/list COPY --from=builder /usr/src/lsys-web-src/examples/lsys-actix-web/.env /usr/local/lsys-web/.env COPY --from=builder /usr/src/lsys-web-src/examples/lsys-actix-web/static /usr/local/lsys-web/static COPY --from=builder /usr/src/lsys-web-src/examples/lsys-actix-web/config /usr/local/lsys-web/config +COPY --from=builder /usr/src/lsys-web-src/examples/lsys-actix-web/locale /usr/local/lsys-web/locale +COPY --from=builder /usr/src/lsys-web-src/examples/lsys-actix-web/data /usr/local/lsys-web/data COPY --from=builder /usr/src/lsys-web-src/examples/target/release/lsys-actix-web /usr/local/lsys-web/lsys-actix-web -COPY --from=builder /usr/src/lsys-web-src/examples/.env /usr/local/lsys-web/.env CMD ["/usr/local/lsys-web/lsys-actix-web"] \ No newline at end of file diff --git a/server/examples/lsys-actix-web/config/app.toml b/server/examples/lsys-actix-web/config/app.toml index 16033b7..f62ea00 100644 --- a/server/examples/lsys-actix-web/config/app.toml +++ b/server/examples/lsys-actix-web/config/app.toml @@ -20,8 +20,8 @@ rbac_cache = true #静态文件目录 ui_dir = "../../../ui/public/" -#静态文件访问路径,默认:/ -#ui_path="/" +#静态文件访问路径,默认:/ui/ +#ui_path="/ui/" #超级管理员id root_user_id = [1]