FROM docker.elastic.co/elasticsearch/elasticsearch:8.2.0 RUN rm -Rf /usr/share/elasticsearch/config/elasticsearch.yml COPY elasticsearch.yml /usr/share/elasticsearch/config/elasticsearch.yml