This commit is contained in:
LouisLam 2021-07-15 01:01:47 +08:00
parent 2b8e33caed
commit bfb117cb76
1 changed files with 2 additions and 2 deletions

View File

@ -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"]