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

update

parent 53100d56
Pipeline #751 canceled with stages
......@@ -10,7 +10,7 @@ RUN apk add --update $PACKAGES
RUN mkdir -p ./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
......@@ -22,10 +22,6 @@ WORKDIR /app
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/sync
......
......@@ -21,7 +21,7 @@ services:
command:
- "/bin/sh"
- "-c"
- "/usr/bin/sync -c config.toml --migrate"
- "/usr/bin/sync -c /config.toml --migrate"
api:
image: claim-monitor:latest
ports:
......@@ -32,5 +32,5 @@ services:
command:
- "/bin/sh"
- "-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