Dockerfile for elastic (Unable copy file)

  docker, docker-compose, elastic-stack

i want to use elastic image such as elasticserhc, kibana and logstash. Do I need specify the CMD or COPY just sufficient? Can I use custom service name and image name or any format needed


ARG Version

FROM docker.elastic.co/elasticsearch/elasticsearch:$Version

COPY  ../configuration/elasticsearch.yml /usr/share/elasticsearch/configuration/

I just try this but it is not working. It not copy the file. Please advice if i did nything wrong?

Source: Docker Questions

LEAVE A COMMENT