mirror of
https://git.rwth-aachen.de/acs/public/villas/web-backend-go/
synced 2025-03-30 00:00:12 +01:00
docker: ensure that swaggo documentation is up to date
This commit is contained in:
parent
75d5e58a49
commit
e33c797012
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,8 @@ RUN mkdir /build
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
ADD . /build
|
ADD . /build
|
||||||
|
|
||||||
|
RUN go install github.com/swaggo/swag/cmd/swag
|
||||||
|
RUN swag init -p pascalcase -g "start.go" -o "./doc/api/"
|
||||||
RUN go build -o villasweb-backend
|
RUN go build -o villasweb-backend
|
||||||
|
|
||||||
FROM debian:buster
|
FROM debian:buster
|
||||||
|
|
Loading…
Add table
Reference in a new issue