From 8f2a9fe883969ccf98e06d7b78eb5f300e077218 Mon Sep 17 00:00:00 2001 From: LouisLam Date: Mon, 9 Aug 2021 14:47:53 +0800 Subject: [PATCH] chnage sqlite3 package in dockerfile --- dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dockerfile b/dockerfile index 233913de9..489ae9409 100644 --- a/dockerfile +++ b/dockerfile @@ -5,8 +5,9 @@ WORKDIR /app # split the sqlite install here, so that it can caches the arm prebuilt RUN apk add --no-cache --virtual .build-deps make g++ python3 python3-dev && \ ln -s /usr/bin/python3 /usr/bin/python && \ - npm install sqlite3@5.0.2 bcrypt@5.0.1 && \ - apk del .build-deps + npm install @louislam/sqlite3@5.0.3 bcrypt@5.0.1 && \ + apk del .build-deps && \ + rm -f /usr/bin/python # Touching above code may causes sqlite3 re-compile again, painful slow.