File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,6 +72,9 @@ RUN sed -i 's/\r$//' /tmp/app-install-chromedriver.sh && \
7272 chmod +x /tmp/app-install-chromedriver.sh
7373RUN /tmp/app-install-chromedriver.sh
7474
75+ # Activate Yarn
76+ RUN corepack enable
77+
7578# Get rid of installation files we don't need in the image, to reduce size
7679RUN apt-get clean && rm -rf /var/lib/apt/lists/*
7780
@@ -114,8 +117,3 @@ RUN chmod +rx /usr/local/bin/wait-for
114117# Create workspace
115118RUN mkdir -p /workspace
116119WORKDIR /workspace
117-
118- # Install NPM modules
119- COPY package.json package.json
120- RUN npm install --no-audit
121- RUN rm -f package.json package-lock.json
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ echo "Copying config files..."
88cp ./docker/configs/settings_local.py ./ietf/settings_local.py
99echo " Ensure all requirements.txt packages are installed..."
1010pip install -r requirements.txt
11+ echo " Compiling native node packages..."
12+ yarn rebuild
1113echo " Building static assets..."
1214yarn build
1315echo " Creating data directories..."
You can’t perform that action at this time.
0 commit comments