diff --git a/Dockerfile b/Dockerfile index d2129522..81b43c39 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,6 +18,8 @@ COPY . /datasets-repo ENV ERDDAP_DATASETS_REPO_DIR=/datasets-repo ENV ERDDAP_DATASETS_XML=/datasets-repo/datasets.d/**/*.xml +# Deploy ERDDAP datasets.xml +RUN rm -rf /usr/local/tomcat/content/erddap/datasets.xml RUN erddap_deploy test RUN erddap_deploy sync