Skip to content

Commit e3139e1

Browse files
committed
fix: clean up entrypoint in docker image
1 parent 8cfbdaa commit e3139e1

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

deployment/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,5 @@ EXPOSE ${P2P_PORT}
8888
# note - cannot pass env vars into the command line
8989
# since there is no shell to interpret them
9090
# hadolint ignore=DL3025
91-
CMD ["./fuel-core", "run"]
91+
ENTRYPOINT ["/home/nonroot/fuel-core"]
92+
CMD ["run"]

deployment/e2e-client.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ WORKDIR /home/nonroot/
4545
COPY --from=builder --chown=nonroot:nonroot /root/fuel-core-e2e-client .
4646
COPY --from=builder --chown=nonroot:nonroot /root/fuel-core-e2e-client.d .
4747

48-
CMD ["./fuel-core-e2e-client"]
48+
ENTRYPOINT ["/home/nonroot/fuel-core-e2e-client"]

0 commit comments

Comments
 (0)