From 351c4cc9604bb6a9bf0d98d2c0876c2b540aed4f Mon Sep 17 00:00:00 2001 From: romer8 Date: Tue, 30 Apr 2024 23:13:09 -0600 Subject: [PATCH] changed dockerfile to be more structured --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 21702a8..4d89aa1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ ARG MICRO_TETHYS=true \ ######################### # ADD APPLICATION FILES # ######################### -COPY . ${TETHYS_HOME} +COPY . ${TETHYS_HOME}/apps/ngiab ############### @@ -32,7 +32,8 @@ ENV PORTAL_SUPERUSER_PASSWORD=pass ####################### # INSTALL APPLICATION # ####################### -RUN micromamba install --yes -c conda-forge --file ${TETHYS_HOME}/requirements.txt && \ +RUN cd ${TETHYS_HOME}/apps/ngiab && \ + micromamba install --yes -c conda-forge --file requirements.txt && \ micromamba clean --all --yes && \ npm install && npm run build && \ tethys install -d -N