File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -210,17 +210,9 @@ RUN curl https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
210
210
RUN source $NVM_DIR/nvm.sh && \
211
211
nvm install $NODE_VERSION && \
212
212
nvm use $NODE_VERSION
213
-
214
- RUN apt-get update && \
215
- # Node.js (from nodesource) and Yarn (from yarnpkg)
216
- apt-get install --yes --quiet \
217
- nodejs yarn \
218
- # Install browsers for e2e testing
219
- google-chrome-stable microsoft-edge-beta && \
220
- # Pre-install system dependencies that Playwright needs. npx doesn't work here
221
- # for some reason. See https://github.com/microsoft/playwright-cli/issues/136
222
- npm i -g playwright@1.36.2 pnpm@^9 corepack && playwright install-deps && \
223
- npm cache clean --force
213
+ ENV NODE_PATH=$NVM_DIR/v$NODE_VERSION/lib/node_modules
214
+ ENV PATH=$NVM_DIR/v$NODE_VERSION/bin:$PATH
215
+ RUN corepack use pnpm@9.6.0 && corepack cache clean
224
216
225
217
# Ensure PostgreSQL binaries are in the users $PATH.
226
218
RUN update-alternatives --install /usr/local/bin/initdb initdb /usr/lib/postgresql/16/bin/initdb 100 && \
You can’t perform that action at this time.
0 commit comments