Skip to content

Commit

Permalink
Merge pull request #40 from cloud-pi-native/tech/upgrade-dependencies
Browse files Browse the repository at this point in the history
chore: ⬆️ upgrade nodejs, vitepress and nginx
  • Loading branch information
this-is-tobi authored Jun 17, 2024
2 parents 00841df + 894d757 commit cb03973
Show file tree
Hide file tree
Showing 3 changed files with 164 additions and 164 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Base stage
FROM docker.io/node:20.11.1-bullseye-slim AS dev
FROM docker.io/node:20.14.0-bullseye-slim AS dev

WORKDIR /app
RUN npm install --location=global pnpm
Expand All @@ -16,7 +16,7 @@ RUN pnpm run build


# Prod stage
FROM docker.io/bitnami/nginx:1.24.0 AS prod
FROM docker.io/bitnami/nginx:1.26.1 AS prod

USER 0
COPY --chown=1001:0 --chmod=770 --from=build /app/docs/.vitepress/dist /opt/bitnami/nginx/html/
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"preview": "vitepress preview docs --port 8081"
},
"devDependencies": {
"vitepress": "1.2.0"
"vitepress": "^1.2.3"
},
"volta": {
"node": "20.11.1"
"node": "20.14.0"
}
}
Loading

0 comments on commit cb03973

Please sign in to comment.