diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -6,8 +6,10 @@ RUN apk add --no-cache python3 make gcc g++ libc-dev sqlite-dev | |||
6 | 6 | ||
7 | COPY . /server-build | 7 | COPY . /server-build |
8 | 8 | ||
9 | ENV CI=true | ||
10 | |||
9 | RUN npm i -g npm@8.7.0 | 11 | RUN npm i -g npm@8.7.0 |
10 | RUN npm ci --production --build-from-source --sqlite=/usr/local | 12 | RUN npm ci --build-from-source --sqlite=/usr/local |
11 | 13 | ||
12 | # ---- RUNTIME IMAGE ---------------------------------------------------------- | 14 | # ---- RUNTIME IMAGE ---------------------------------------------------------- |
13 | FROM node:16.4-alpine | 15 | FROM node:16.4-alpine |