Skip to content

Commit 7d328b3

Browse files
authored
fix uid for docker build secret (#238)
1 parent b00ecee commit 7d328b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

node-red-container/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ RUN chown -R node-red:node-red /usr/src/flowforge-nr-launcher
1717
RUN ln -s /usr/src/flowforge-nr-launcher /usr/src/flowfuse-nr-launcher
1818

1919
USER node-red
20-
RUN --mount=type=secret,id=npm,target=/usr/src/node-red/.npmrc npm install @flowfuse/nr-launcher@${BUILD_TAG}
20+
RUN --mount=type=secret,id=npm,uid=1000,target=/usr/src/node-red/.npmrc npm install @flowfuse/nr-launcher@${BUILD_TAG}
2121

2222
USER root
2323
RUN mkdir -p /data/storage

0 commit comments

Comments
 (0)