sashokbg commented on code in PR #405:
URL: https://github.com/apache/apisix-docker/pull/405#discussion_r1072156896


##########
centos/docker-entrypoint.sh:
##########
@@ -22,18 +22,22 @@ PREFIX=${APISIX_PREFIX:=/usr/local/apisix}
 
 if [[ "$1" == "docker-start" ]]; then
     if [ "$APISIX_STAND_ALONE" = "true" ]; then
-        cat > ${PREFIX}/conf/config.yaml << _EOC_
+        if [ ! -f ${PREFIX}/conf/config.yaml ]; then

Review Comment:
   How  about using a gist like this ?
   
   https://gist.github.com/pkuczynski/8665367



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to