From ed92050c0f13be098d035f09743d03ef170a4ca1 Mon Sep 17 00:00:00 2001 From: Steve Date: Fri, 3 Nov 2023 11:28:26 +0800 Subject: [PATCH] add workdir for docker file --- Dockerfile | 2 ++ docs/index.md | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/Dockerfile b/Dockerfile index fe4c663..19da8d2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,8 @@ RUN apk add --no-cache ca-certificates RUN apk add --no-cache tzdata ENV TZ Asia/Shanghai +WORKDIR /easy-admin + COPY ./easy-admin /easy-admin COPY ./config/settings.demo.yml /config/settings.yml EXPOSE 8000 diff --git a/docs/index.md b/docs/index.md index dfb27e7..7e46b7b 100644 --- a/docs/index.md +++ b/docs/index.md @@ -58,6 +58,12 @@ The front-end and back-end separation authority management system based on Gin + swag init --parseDependency --parseDepth=6 --instanceName admin -o ./docs/admin ``` +# Online swag Document + +``` +http://localhost:8000/swagger/admin/index.html +``` + # Install [Docker Install](https://nicelizhi.github.io/easy-admin/guide/install/docker)