From bfb117cb7609e359b55d4c12d096ddd649c62958 Mon Sep 17 00:00:00 2001 From: LouisLam Date: Thu, 15 Jul 2021 01:01:47 +0800 Subject: [PATCH] minor --- dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dockerfile b/dockerfile index e017cd98..d21c22be 100644 --- a/dockerfile +++ b/dockerfile @@ -8,7 +8,6 @@ RUN apk add --no-cache --virtual .build-deps make g++ python3 python3-dev && \ npm install sqlite3@5.0.2 bcrypt@5.0.1 && \ apk del .build-deps -# New things add here # Touching above code may causes sqlite3 re-compile again, painful slow. # Install apprise @@ -24,11 +23,12 @@ RUN apk add --no-cache --virtual .build-deps libffi-dev musl-dev openssl-dev car pip3 install apprise && \ apk del .build-deps +# New things add here + COPY . . RUN npm install RUN npm run build - EXPOSE 3001 VOLUME ["/app/data"] CMD ["npm", "run", "start-server"]