mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-28 16:12:25 -05:00
Frodo swaggins (#126)
* more swagger fun * document a whole bunch more stuff * more swagger yayyyyyyy * progress + go fmt
This commit is contained in:
parent
cb85f65cca
commit
0386a28b5a
58 changed files with 3289 additions and 469 deletions
|
|
@ -11,6 +11,7 @@ WORKDIR /go/src/github.com/superseriousbusiness/gotosocial
|
|||
ADD cmd /go/src/github.com/superseriousbusiness/gotosocial/cmd
|
||||
ADD internal /go/src/github.com/superseriousbusiness/gotosocial/internal
|
||||
ADD testrig /go/src/github.com/superseriousbusiness/gotosocial/testrig
|
||||
ADD docs/swagger.go /go/src/github.com/superseriousbusiness/gotosocial/docs/swagger.go
|
||||
ADD go.mod /go/src/github.com/superseriousbusiness/gotosocial/go.mod
|
||||
ADD go.sum /go/src/github.com/superseriousbusiness/gotosocial/go.sum
|
||||
|
||||
|
|
@ -56,6 +57,9 @@ COPY --from=binary_builder /go/src/github.com/superseriousbusiness/gotosocial/go
|
|||
# copy over the web directory with templates etc
|
||||
COPY --from=web_builder web /gotosocial/web
|
||||
|
||||
# put the swagger yaml in the web assets directory so it can be accessed
|
||||
COPY docs/api/swagger.yaml /gotosocial/web/assets/swagger.yaml
|
||||
|
||||
# copy over the admin directory
|
||||
COPY --from=admin_builder /gotosocial-admin/public /gotosocial/web/assets/admin
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue