Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
shanliu committed Jan 28, 2024
1 parent 422d216 commit 5db5708
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
4 changes: 2 additions & 2 deletions server/examples/lsys-actix-web/config/app.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ rbac_cache = true

#静态文件目录
ui_dir = "../../../ui/public/"
#静态文件访问路径,默认:/
#ui_path="/"
#静态文件访问路径,默认:/ui/
#ui_path="/ui/"
#超级管理员id
root_user_id = [1]

Expand Down

0 comments on commit 5db5708

Please sign in to comment.