Skip to content

Commit

Permalink
fix: root issue (#158)
Browse files Browse the repository at this point in the history
* fix: root issue

Signed-off-by: Tristan Bastian <tristan.bastian@softwareag.com>

* version bump and dependabot adjustments

Signed-off-by: Tristan Bastian <tristan.bastian@softwareag.com>

---------

Signed-off-by: Tristan Bastian <tristan.bastian@softwareag.com>
  • Loading branch information
reey authored Oct 12, 2023
1 parent a40f67a commit e122c20
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 11 deletions.
13 changes: 7 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ updates:
interval: "weekly"
assignees:
- "reey"
allow:
- dependency-type: "direct"
dependency-name: "@c8y*"
labels:
- "npm"
- "dependencies"
- "c8y"
reviewers:
- "reey"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
groups:
web-sdk:
patterns:
- "@c8y/*"
update-types:
- "minor"
- "patch"
3 changes: 2 additions & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
FROM nodered/node-red:3.1.0-18-minimal
USER root
RUN chown -R root:root /data/
RUN cd /data && npm install @c8y/client@1018.0.143 && npm install node-red-dashboard@3.6.0
COPY ./data /data
USER root
# compile typescript to javascript and afterwards remove node_modules to reduce container size
RUN cd /data/node-red-c8y-storage-plugin && npm install && npm run build && npx rimraf node_modules

Expand Down
2 changes: 1 addition & 1 deletion backend/cumulocity.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"apiVersion": "v2",
"version": "2.1.0",
"version": "2.1.1",
"name": "node-red",
"provider": {
"name": "Tristan Bastian",
Expand Down
4 changes: 2 additions & 2 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-red-ui",
"version": "2.1.0",
"version": "2.1.1",
"description": "Node-RED integration into Cumulocity. With the Node-RED instance running as a microservice inside of Cumulocity.",
"scripts": {
"start": "c8ycli server",
Expand Down

0 comments on commit e122c20

Please sign in to comment.