We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1e09b57 + c1bfc49 commit f18023bCopy full SHA for f18023b
Dockerfile
@@ -3,16 +3,14 @@
3
FROM node:18-bullseye AS dev
4
5
RUN apt-get update -y \
6
- && apt-get install -y --no-install-recommends \
7
- git bash g++ make \
8
- && rm -rf /var/lib/apt/lists/*
9
-
10
-RUN npm install -g pnpm
+ && apt-get install -y --no-install-recommends git \
+ && rm -rf /var/lib/apt/lists/* \
+ # NOTE: yarn > 1.22.19 breaks yarn-install invoked by pnpm
+ && npm install -g pnpm@8.6.0 yarn@1.22.19 --force \
+ && git config --global --add safe.directory /code
11
12
WORKDIR /code
13
14
-RUN git config --global --add safe.directory /code
15
16
# -------------------------- Nginx - Builder --------------------------------
17
FROM dev AS nginx-build
18
0 commit comments