From 6cdecf767ad1f825cb18cabc59b18a6eb8149ac8 Mon Sep 17 00:00:00 2001 From: Kris De Volder Date: Fri, 28 Feb 2020 11:22:46 -0800 Subject: [PATCH] Reorder things a bit in theia docker file --- concourse/theia-docker-image/Dockerfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/concourse/theia-docker-image/Dockerfile b/concourse/theia-docker-image/Dockerfile index 7a3e12c25..48882c36c 100644 --- a/concourse/theia-docker-image/Dockerfile +++ b/concourse/theia-docker-image/Dockerfile @@ -19,13 +19,16 @@ RUN mkdir /theia-app ADD package.json /theia-app WORKDIR /theia-app # using "NODE_OPTIONS=..." to avoid out-of-memory problem in CI + + +ENV SHELL=/bin/bash \ + THEIA_DEFAULT_PLUGINS=local-dir:/theia-app/plugins + +ADD plugins /theia-app/plugins + RUN yarn --cache-folder ./ycache && rm -rf ./ycache && \ NODE_OPTIONS="--max_old_space_size=8192" yarn theia build ; \ yarn theia download:plugins -ADD plugins /theia-app/plugins - -ENV SHELL=/bin/bash \ - THEIA_DEFAULT_PLUGINS=local-dir:/theia-app/plugins ENTRYPOINT [ "yarn", "theia", "start", "--hostname=0.0.0.0", "/home/project" ] EXPOSE 3000