mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-09-13 23:17:00 +08:00
minor
This commit is contained in:
@@ -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 && \
|
npm install sqlite3@5.0.2 bcrypt@5.0.1 && \
|
||||||
apk del .build-deps
|
apk del .build-deps
|
||||||
|
|
||||||
# New things add here
|
|
||||||
# Touching above code may causes sqlite3 re-compile again, painful slow.
|
# Touching above code may causes sqlite3 re-compile again, painful slow.
|
||||||
|
|
||||||
# Install apprise
|
# Install apprise
|
||||||
@@ -24,11 +23,12 @@ RUN apk add --no-cache --virtual .build-deps libffi-dev musl-dev openssl-dev car
|
|||||||
pip3 install apprise && \
|
pip3 install apprise && \
|
||||||
apk del .build-deps
|
apk del .build-deps
|
||||||
|
|
||||||
|
# New things add here
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm install
|
RUN npm install
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
|
|
||||||
EXPOSE 3001
|
EXPOSE 3001
|
||||||
VOLUME ["/app/data"]
|
VOLUME ["/app/data"]
|
||||||
CMD ["npm", "run", "start-server"]
|
CMD ["npm", "run", "start-server"]
|
||||||
|
Reference in New Issue
Block a user