You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2021/06/11 18:54:16 UTC
[airavata-django-portal] branch develop updated: Optimize docker
image size: exclude node_modules
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git
The following commit(s) were added to refs/heads/develop by this push:
new 9ec9b00 Optimize docker image size: exclude node_modules
9ec9b00 is described below
commit 9ec9b0084f74eb14e388c90cfba5d2e08dc7870c
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Fri Jun 11 14:51:42 2021 -0400
Optimize docker image size: exclude node_modules
---
Dockerfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Dockerfile b/Dockerfile
index 0e9ecb1..81f73c7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -85,8 +85,8 @@ COPY ./ .
# Copy javascript builds from build-stage
WORKDIR /code/django_airavata/apps/api/static/django_airavata_api
COPY --from=build-stage /code/django_airavata/apps/api/static/django_airavata_api .
-WORKDIR /code/django_airavata/static/common
-COPY --from=build-stage /code/django_airavata/static/common .
+WORKDIR /code/django_airavata/static/common/dist
+COPY --from=build-stage /code/django_airavata/static/common/dist .
WORKDIR /code/django_airavata/apps/admin/static/django_airavata_admin
COPY --from=build-stage /code/django_airavata/apps/admin/static/django_airavata_admin .
WORKDIR /code/django_airavata/apps/groups/static/django_airavata_groups