feat: Add comp oc-shared with Helm chart templates

This commit is contained in:
na
2024-09-12 14:35:38 +02:00
parent 18fe4b01ed
commit 53f683ae79
8 changed files with 194 additions and 1 deletions

View File

@@ -6,6 +6,9 @@ COPY . .
RUN apk add git
#install bash
RUN apk add bash && PATH=$PATH:/bin/bash
RUN go get github.com/beego/bee/v2 && go install github.com/beego/bee/v2@master
RUN timeout 15 bee run -gendoc=true -downdoc=true -runmode=dev || :
@@ -22,7 +25,7 @@ WORKDIR /app
COPY --from=builder /app/oc-shared /usr/bin/
COPY --from=builder /app/swagger /app/swagger
COPY --from=builder /app/conf /app/conf
COPY docker_shared.json /etc/oc/shared.json
EXPOSE 8080