Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debug docker file #23

Merged
merged 2 commits into from
Nov 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
CMD ["./easy-admin","server","-c", "/config/settings.yml"]
6 changes: 6 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Loading