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

update dockerfile

parent 04a2f4db
......@@ -20,11 +20,11 @@ FROM alpine
WORKDIR /app
COPY ./config.toml ./config.toml
COPY ./config.toml /config.toml
VOLUME /app/config.toml
VOLUME /config.toml
VOLUME /app/data
VOLUME /app
COPY --from=build /tmp/validator /usr/bin/validator
......
......@@ -24,11 +24,11 @@ FROM alpine
WORKDIR /app
COPY ./config.toml ./config.toml
COPY ./config.toml /config.toml
VOLUME /app/config.toml
VOLUME /config.toml
VOLUME /app/data
VOLUME /app
COPY --from=build /tmp/validator /usr/bin/validator
......
......@@ -4,5 +4,5 @@
set -e
echo "running validator"
nohup /usr/bin/validator -c /app/config.toml >> /app/validator.log 2>&1 &
nohup /usr/bin/validator -c /config.toml >> /app/validator.log 2>&1 &
tail -f /app/validator.log
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