feat: Add comp oc-shared with Helm chart templates
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user