File tree Expand file tree Collapse file tree 8 files changed +17
-1
lines changed
Expand file tree Collapse file tree 8 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -58,4 +58,6 @@ COPY --from=1 /opt/bundle /opt/core
5858COPY meteor/docker-entrypoint.sh /opt
5959
6060WORKDIR /opt/core/
61+ RUN chown -R 1000:1000 /opt/core
62+ USER 1000
6163CMD ["/opt/docker-entrypoint.sh" ]
Original file line number Diff line number Diff line change @@ -5,5 +5,7 @@ RUN apk add --no-cache tzdata
55
66COPY meteor/bundle /opt/core
77COPY meteor/docker-entrypoint.sh /opt
8- WORKDIR /opt/core/
8+ WORKDIR /opt/core
9+ RUN chown -R 1000:1000 /opt/core
10+ USER 1000
911CMD ["/opt/docker-entrypoint.sh"]
Original file line number Diff line number Diff line change @@ -27,4 +27,6 @@ COPY --from=0 /opt/shared-lib /opt/shared-lib
2727COPY --from=0 /opt/corelib /opt/corelib
2828
2929WORKDIR /opt/live-status-gateway
30+ RUN chown -R 1000:1000 /opt/live-status-gateway
31+ USER 1000
3032CMD ["node" , "dist/index.js" ]
Original file line number Diff line number Diff line change @@ -10,4 +10,6 @@ COPY shared-lib /opt/shared-lib
1010COPY corelib /opt/corelib
1111
1212WORKDIR /opt/live-status-gateway
13+ RUN chown -R 1000:1000 /opt/live-status-gateway
14+ USER 1000
1315CMD ["node", "dist/index.js"]
Original file line number Diff line number Diff line change @@ -23,4 +23,6 @@ COPY --from=0 /opt/server-core-integration /opt/server-core-integration
2323COPY --from=0 /opt/shared-lib /opt/shared-lib
2424
2525WORKDIR /opt/mos-gateway
26+ RUN chown -R 1000:1000 /opt/mos-gateway
27+ USER 1000
2628CMD ["node" , "dist/index.js" ]
Original file line number Diff line number Diff line change @@ -8,4 +8,6 @@ COPY server-core-integration /opt/server-core-integration
88COPY shared-lib /opt/shared-lib
99
1010WORKDIR /opt/mos-gateway
11+ RUN chown -R 1000:1000 /opt/mos-gateway
12+ USER 1000
1113CMD ["node", "dist/index.js"]
Original file line number Diff line number Diff line change @@ -23,4 +23,6 @@ COPY --from=0 /opt/server-core-integration /opt/server-core-integration
2323COPY --from=0 /opt/shared-lib /opt/shared-lib
2424
2525WORKDIR /opt/playout-gateway
26+ RUN chown -R 1000:1000 /opt/playout-gateway
27+ USER 1000
2628CMD ["node" , "dist/index.js" ]
Original file line number Diff line number Diff line change @@ -8,4 +8,6 @@ COPY server-core-integration /opt/server-core-integration
88COPY shared-lib /opt/shared-lib
99
1010WORKDIR /opt/playout-gateway
11+ RUN chown -R 1000:1000 /opt/playout-gateway
12+ USER 1000
1113CMD ["node", "dist/index.js"]
You can’t perform that action at this time.
0 commit comments