0
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-11-22 11:47:30 +01:00

update to 1.1.0

This commit is contained in:
LouisLam 2021-08-09 21:03:30 +08:00
parent 116d803592
commit efc9a254f4
3 changed files with 6 additions and 11 deletions

View File

@ -84,7 +84,7 @@ https://github.com/louislam/uptime-kuma/wiki/Reverse-Proxy
<!---
Abort. Heroku instance killed the server.js if idle, stupid.
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/louislam/uptime-kuma/tree/1.0.10)
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/louislam/uptime-kuma/tree/1.1.0)
-->
[![Deploy to DO](https://www.deploytodo.com/do-btn-blue.svg)](https://cloud.digitalocean.com/apps/new?repo=https://github.com/louislam/uptime-kuma/tree/master&refcode=e2c7eb658434)
@ -110,7 +110,7 @@ PS: For every new release, it takes some time to build the docker image, please
```bash
git fetch --all
git checkout 1.0.10 --force
git checkout 1.1.0 --force
npm install
npm run build
pm2 restart uptime-kuma

View File

@ -16,13 +16,8 @@ RUN apk add --no-cache python3 py3-cryptography py3-pip py3-six py3-yaml py3-cli
RUN pip3 --no-cache-dir install apprise && \
rm -rf /root/.cache
# Install packages and cache the layer
COPY ./package.json ./package.json
RUN npm install --only=prod && rm -f ./package-lock.json
# Install dev packages, delete it after build
COPY . .
RUN npm install --only=dev && npm run build && npm prune
RUN npm install && npm run build && npm prune
EXPOSE 3001
VOLUME ["/app/data"]

View File

@ -1,6 +1,6 @@
{
"name": "uptime-kuma",
"version": "1.0.10",
"version": "1.1.0",
"license": "MIT",
"repository": {
"type": "git",
@ -16,10 +16,10 @@
"update": "",
"build": "vite build",
"vite-preview-dist": "vite preview --host",
"build-docker": "docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma -t louislam/uptime-kuma:1 -t louislam/uptime-kuma:1.0.10 --target release . --push",
"build-docker": "docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma -t louislam/uptime-kuma:1 -t louislam/uptime-kuma:1.1.0 --target release . --push",
"build-docker-nightly": "docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma:nightly --target nightly . --push",
"build-docker-nightly-amd64": "docker buildx build --platform linux/amd64 -t louislam/uptime-kuma:nightly-amd64 --target nightly . --push",
"setup": "git checkout 1.0.10 && npm install && npm run build",
"setup": "git checkout 1.1.0 && npm install && npm run build",
"update-version": "node extra/update-version.js",
"mark-as-nightly": "node extra/mark-as-nightly.js",
"reset-password": "node extra/reset-password.js"