fix: copy swagger.yaml into docker image
This commit is contained in:
parent
809c99e398
commit
c9cb6b9e2e
1 changed files with 1 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ RUN go build -o /build/registry ./cmd/registry
|
|||
FROM alpine:latest
|
||||
WORKDIR /app
|
||||
COPY --from=builder /build/registry .
|
||||
COPY --from=builder /app/internal/docs/swagger.yaml /app/internal/docs/swagger.yaml
|
||||
EXPOSE 8080
|
||||
|
||||
CMD ["./registry"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue