Commit 2c13da80 authored by Liam Horne's avatar Liam Horne

build: use npm script to start base service based services

parent a2f6e839
......@@ -28,4 +28,4 @@ COPY --from=builder /optimism/packages/batch-submitter/node_modules ./node_modul
# copy this over in case you want to run alongside other services
COPY ./ops/scripts/batches.sh .
ENTRYPOINT ["node", "exec/run-batch-submitter.js"]
ENTRYPOINT ["npm", "run", "start"]
......@@ -29,4 +29,4 @@ COPY --from=builder /optimism/packages/message-relayer/node_modules ./node_modul
# copy this over in case you want to run alongside other services
COPY ./ops/scripts/relayer.sh .
ENTRYPOINT ["node", "exec/run-message-relayer.js"]
ENTRYPOINT ["npm", "run", "start"]
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