diff options
author | André Oliveira <37463445+SpecialAro@users.noreply.github.com> | 2022-06-02 19:10:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-02 19:10:50 +0100 |
commit | bf64ce55d3a83a14d4cc47e8fbf889fd978a4f82 (patch) | |
tree | 45103e078ca672c26bdd56e77dae238119de8a8e /Dockerfile | |
parent | Fix gh actions (#38) (diff) | |
download | ferdium-server-bf64ce55d3a83a14d4cc47e8fbf889fd978a4f82.tar.gz ferdium-server-bf64ce55d3a83a14d4cc47e8fbf889fd978a4f82.tar.zst ferdium-server-bf64ce55d3a83a14d4cc47e8fbf889fd978a4f82.zip |
Add dynamic version of pnpm and npm (#37)
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -7,8 +7,7 @@ RUN apk add --no-cache python3 make gcc g++ libc-dev sqlite-dev | |||
7 | COPY . /server-build | 7 | COPY . /server-build |
8 | 8 | ||
9 | ENV CI=true | 9 | ENV CI=true |
10 | 10 | RUN NPM_VERSION=$(node -p 'require("./package.json").engines.npm'); npm i -g npm@$NPM_VERSION | |
11 | RUN npm i -g npm@8.7.0 | ||
12 | RUN npm ci --build-from-source --sqlite=/usr/local | 11 | RUN npm ci --build-from-source --sqlite=/usr/local |
13 | 12 | ||
14 | # ---- RUNTIME IMAGE ---------------------------------------------------------- | 13 | # ---- RUNTIME IMAGE ---------------------------------------------------------- |