Skip to content

Commit

Permalink
fix: use CMD instead of ENTRYPOINT
Browse files Browse the repository at this point in the history
  • Loading branch information
mojtaba-esk committed Dec 4, 2023
1 parent b00b5db commit b8198bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ COPY --from=development /build .
RUN apk update && apk add iproute2 curl

ENV SERVE_ADDR="localhost:9001"
ENTRYPOINT ["sh", "-c", "./bittwister serve --serve-addr $SERVE_ADDR"]
CMD ["sh", "-c", "./bittwister serve --serve-addr ${SERVE_ADDR}"]

0 comments on commit b8198bf

Please sign in to comment.