mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 01:47:39 -07:00
Docker: Back to npm from yarn (#4730)
This commit reverts "Fix Dockerfile #4214" which uses yarn instead of npm. The cause of the build error is that binding.gyp and src/crypto_key.cc are missing when installing dependencies. In other words, yarn did not fix build error. There is no reason to use yarn, so go back to npm.
This commit is contained in:
parent
f4d14fb928
commit
132c190374
1 changed files with 2 additions and 3 deletions
|
@ -21,12 +21,11 @@ RUN apk add --no-cache \
|
||||||
pkgconfig \
|
pkgconfig \
|
||||||
python \
|
python \
|
||||||
zlib-dev
|
zlib-dev
|
||||||
RUN npm i -g yarn
|
|
||||||
|
|
||||||
COPY package.json ./
|
COPY package.json ./
|
||||||
RUN yarn install
|
RUN npm i
|
||||||
COPY . ./
|
COPY . ./
|
||||||
RUN yarn build
|
RUN npm run build
|
||||||
|
|
||||||
FROM base AS runner
|
FROM base AS runner
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue