From ab59fe4e98265fcc7c004c4a89896071b9fd6454 Mon Sep 17 00:00:00 2001 From: Will Hunt Date: Wed, 6 Jul 2022 12:49:26 +0100 Subject: [PATCH] Dockerfile: Move --pure-lockfile to yarn (install) (#391) * Move --pure-lockfile to yarn (install) * Debug rust * Update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5da4ad04..1667ea1f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,9 +15,9 @@ ENV PATH="/root/.cargo/bin:${PATH}" RUN apt-get update && apt-get install -y build-essential cmake # Workaround: Need to install esbuild manually https://github.com/evanw/esbuild/issues/462#issuecomment-771328459 -RUN yarn --ignore-scripts +RUN yarn --ignore-scripts --pure-lockfile RUN node node_modules/esbuild/install.js -RUN yarn build --pure-lockfile +RUN yarn build # Stage 1: The actual container