Cat in script in docker
I have a container with node:18-alpine3.14 as base image. I have docker-compose file with command: ["prepare_config.sh","--","npm", "run", "start-p"] in prepare config #!/bin/bash json_data=$(cat <<EOF { "url": "$URL" } EOF ) echo "$json_data"; When I try to run this code I…