Dockerfile: Move --pure-lockfile to yarn (install) (#391)

* Move --pure-lockfile to yarn (install)

* Debug rust

* Update Dockerfile
This commit is contained in:
Will Hunt 2022-07-06 12:49:26 +01:00 committed by GitHub
parent 7c415ad376
commit ab59fe4e98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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