File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -4,16 +4,15 @@ COPY main.go .
4
4
COPY pkg ./pkg
5
5
COPY go.mod .
6
6
7
- RUN wget https://github.com/swagger-api/swagger-ui/archive/refs/tags/v5.20.2 .tar.gz && \
8
- tar -xf v5.20.2 .tar.gz && \
9
- mv swagger-ui-5.20.2 /dist ./swagger-ui && \
7
+ RUN wget https://github.com/swagger-api/swagger-ui/archive/refs/tags/v5.21.0 .tar.gz && \
8
+ tar -xf v5.21.0 .tar.gz && \
9
+ mv swagger-ui-5.21.0 /dist ./swagger-ui && \
10
10
sed -i 's/url: \".*\"/url: \"\.\/openapi.yaml\",\n\tsyntaxHighlight: {activated: false}/' swagger-ui/swagger-initializer.js && \
11
- # mv swagger-ui pkg/mb3server/swagger-ui && \
12
- rm -rf v5.20.2.tar.gz swagger-ui-5.20.2
11
+ rm -rf v5.21.0.tar.gz swagger-ui-5.21.0
13
12
14
13
COPY api/openapi.yaml ./swagger-ui/openapi.yaml
15
14
COPY api/schemas ./swagger-ui/schemas
16
15
COPY entrypoint-mb3server.sh ./entrypoint-mb3server.sh
17
16
18
17
EXPOSE 8080
19
- ENTRYPOINT ["sh", " entrypoint-mb3server.sh", "${MB3_API_URL}"]
18
+ ENTRYPOINT sh entrypoint-mb3server.sh "${MB3_API_URL}"
You can’t perform that action at this time.
0 commit comments