-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NMEA-PARSER-NODERED: v1.0.0
- Loading branch information
Showing
34 changed files
with
5,211 additions
and
38,792 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
Large diffs are not rendered by default.
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
Empty file.
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,25 +1,13 @@ | ||
FROM nodered/node-red:latest-18 | ||
|
||
USER root | ||
RUN mkdir -p /components && chown node-red /components\ | ||
&& mkdir -p /config && chown node-red /config\ | ||
&& mkdir -p /db && chown node-red /db\ | ||
&& mkdir -p /static && chown node-red /static\ | ||
&& mkdir -p /tests && chown node-red /tests | ||
USER node-red | ||
# Copy package.json to the WORKDIR so npm builds all | ||
# of your added nodes modules for Node-RED | ||
# COPY ./data/package.json . | ||
|
||
# ./ | ||
COPY ./package.json /components/package.json | ||
COPY ./src/ /components/src/ | ||
# ./tests/nodered | ||
# COPY ./../../package.json /tests/components/package.json | ||
# COPY ./../../src/ /tests/components/src/ | ||
RUN mkdir -m 777 /components && chown node-red:node-red /components\ | ||
&& mkdir -m 777 /config && chown node-red:node-red /config \ | ||
&& mkdir -m 777 /db && chown node-red:node-red /db \ | ||
&& mkdir -m 777 /static && chown node-red:node-red /static \ | ||
&& mkdir -m 777 /tests && chown node-red:node-red /tests | ||
COPY --chown=node-red:node-red --chmod=777 tests/nodered/components/ /components/ | ||
|
||
# RUN npm install --unsafe-perm --no-update-notifier --no-fund --only=production --loglevel=verbose | ||
USER node-red | ||
|
||
RUN npm install @coremarine/nmea-parser@1.6.2 /components | ||
# RUN npm install @coremarine/nr-nmea-parser | ||
# RUN npm install --production /tests/components | ||
RUN npm i --production @coremarine/nmea-parser /components |
Empty file.
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
Oops, something went wrong.