Commit 2776401d authored by 贾浩@五瓣科技's avatar 贾浩@五瓣科技

update

parent 53100d56
Pipeline #751 canceled with stages
...@@ -10,7 +10,7 @@ RUN apk add --update $PACKAGES ...@@ -10,7 +10,7 @@ RUN apk add --update $PACKAGES
RUN mkdir -p ./claim-monitor RUN mkdir -p ./claim-monitor
COPY ./ ./claim-monitor/ COPY ./ ./claim-monitor/
RUN git clone https://code.wuban.net.cn/odysseus/odysseus-protocol.git RUN git clone https://code.wuban.net.cn/odysseus/claim-monitor.git
FROM base AS build FROM base AS build
...@@ -22,10 +22,6 @@ WORKDIR /app ...@@ -22,10 +22,6 @@ WORKDIR /app
COPY ./config.toml /config.toml COPY ./config.toml /config.toml
VOLUME /config.toml
VOLUME /app
COPY --from=build /tmp/api /usr/bin/api COPY --from=build /tmp/api /usr/bin/api
COPY --from=build /tmp/api /usr/bin/sync COPY --from=build /tmp/api /usr/bin/sync
......
...@@ -21,7 +21,7 @@ services: ...@@ -21,7 +21,7 @@ services:
command: command:
- "/bin/sh" - "/bin/sh"
- "-c" - "-c"
- "/usr/bin/sync -c config.toml --migrate" - "/usr/bin/sync -c /config.toml --migrate"
api: api:
image: claim-monitor:latest image: claim-monitor:latest
ports: ports:
...@@ -32,5 +32,5 @@ services: ...@@ -32,5 +32,5 @@ services:
command: command:
- "/bin/sh" - "/bin/sh"
- "-c" - "-c"
- "/usr/bin/api -c config.toml" - "/usr/bin/api -c /config.toml"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment