change the docker base image to node:14-alpine3.14, reduce the container size

pull/35/head
LouisLam 3 years ago
parent 0f1a95fde9
commit 99afdabcac

@ -1,4 +1,8 @@
FROM node:14
FROM node:14-alpine3.14
# sqlite have to build on arm
RUN apk add --no-cache make g++ python3
RUN ln -s /usr/bin/python3 /usr/bin/python
WORKDIR /app
COPY . .

Loading…
Cancel
Save