Skip to content

Commit

Permalink
fix: remove docker compose swag generate 🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinezAvellan committed Dec 19, 2024
1 parent e36224d commit a65b347
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 17 deletions.
5 changes: 0 additions & 5 deletions components/audit/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ COPY . .

RUN CGO_ENABLED=0 GOOS=linux go build -a -tags netgo -ldflags '-w -extldflags "-static"' -o /app components/audit/cmd/app/main.go

# Add make, install swag and generate docs
RUN apk add --no-cache make \
&& go install github.com/swaggo/swag/cmd/swag@latest \
&& make -C components/audit generate-docs

FROM alpine:latest

COPY --from=builder /app /app
Expand Down
6 changes: 0 additions & 6 deletions components/ledger/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ COPY . .

RUN CGO_ENABLED=0 GOOS=linux go build -a -tags netgo -ldflags '-w -extldflags "-static"' -o /app components/ledger/cmd/app/main.go

# Add make, install swag and generate docs
RUN apk add --no-cache make \
&& go install github.com/swaggo/swag/cmd/swag@latest \
&& make -C components/ledger generate-docs


FROM alpine:latest

COPY --from=builder /app /app
Expand Down
6 changes: 0 additions & 6 deletions components/transaction/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ COPY . .

RUN CGO_ENABLED=0 GOOS=linux go build -a -tags netgo -ldflags '-w -extldflags "-static"' -o /app components/transaction/cmd/app/main.go

# Add make, install swag and generate docs
RUN apk add --no-cache make \
&& go install github.com/swaggo/swag/cmd/swag@latest \
&& make -C components/transaction generate-docs


FROM alpine:latest

COPY --from=builder /app /app
Expand Down

0 comments on commit a65b347

Please sign in to comment.