use ENTRYPOINT in docker file
@@ -36,4 +36,5 @@ RUN cd $GOPATH/src/github.com/iotexproject/iotex-core/ && \
echo " - \"127.0.0.1:4689\"" >> /etc/iotex/config.yaml && \
ln -s $GOPATH/src/github.com/iotexproject/iotex-core/blockchain/testnet_actions.yaml /etc/iotex/testnet_actions.yaml
-CMD ["iotex-server", "-config-path=/etc/iotex/config.yaml"]
\ No newline at end of file
+ENTRYPOINT [ "iotex-server" ]
+CMD ["-config-path=/etc/iotex/config.yaml"]
