diff --git a/Dockerfile b/Dockerfile index fe4c663..d6db8a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,14 +6,16 @@ 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 -RUN chmod +x /easy-admin +RUN chmod +x ./easy-admin ENV TINI_VERSION v0.19.0 ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini RUN chmod +x /tini ENTRYPOINT ["/tini", "--"] -CMD ["/easy-admin","server","-c", "/config/settings.yml"] \ No newline at end of file +CMD ["./easy-admin","server","-c", "/config/settings.yml"] \ No newline at end of file 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)