-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: root issue Signed-off-by: Tristan Bastian <[email protected]> * version bump and dependabot adjustments Signed-off-by: Tristan Bastian <[email protected]> --------- Signed-off-by: Tristan Bastian <[email protected]>
- Loading branch information
Showing
5 changed files
with
13 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/[email protected] && npm install [email protected] | ||
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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters