Skip to content

Commit

Permalink
update to 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
louislam committed Aug 9, 2021
1 parent 116d803 commit efc9a25
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down
7 changes: 1 addition & 6 deletions dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uptime-kuma",
"version": "1.0.10",
"version": "1.1.0",
"license": "MIT",
"repository": {
"type": "git",
Expand All @@ -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"
Expand Down

0 comments on commit efc9a25

Please sign in to comment.