mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-10 02:40:18 +08:00
plan to switch to better-sqlite3, drop node-sqlite3
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
FROM node:14-alpine3.12 AS release
|
||||
WORKDIR /app
|
||||
|
||||
# split the sqlite install here, so that it can caches the arm prebuilt
|
||||
# split the sqlite install here, so that it can caches the prebuilt
|
||||
RUN apk add --no-cache --virtual .build-deps make g++ python3 python3-dev && \
|
||||
ln -s /usr/bin/python3 /usr/bin/python && \
|
||||
npm install @louislam/sqlite3@5.0.3 bcrypt@5.0.1 && \
|
||||
npm install better-sqlite3@7.4.3 bcrypt@5.0.1 && \
|
||||
apk del .build-deps && \
|
||||
rm -f /usr/bin/python
|
||||
|
||||
|
Reference in New Issue
Block a user