Skip to content

Commit 9d718db

Browse files
committed
security updates
1 parent 3e8d01d commit 9d718db

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

Dockerfile

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ COPY --chown=node:node yarn.lock ./
1818
RUN corepack enable
1919
RUN corepack prepare yarn@4.0.2 --activate
2020

21-
# Install the dependencies for the Ziti BrowZer Bootstrapper
22-
RUN yarn install
21+
# # Install the dependencies for the Ziti BrowZer Bootstrapper
22+
# RUN yarn install
2323

2424
# Bring in the source of the Ziti BrowZer Bootstrapper to the working folder
2525
COPY --chown=node:node index.js .
@@ -33,9 +33,14 @@ COPY --chown=node:node assets ./assets/
3333

3434
# COPY --from=build /home/node/ziti-browzer-bootstrapper /home/node/ziti-browzer-bootstrapper
3535

36-
# RUN chown -R node:node /home/node/ziti-browzer-bootstrapper
36+
RUN chown -R node:node /home/node/ziti-browzer-bootstrapper
3737
USER node
3838

39+
# Install the dependencies for the Ziti BrowZer Bootstrapper
40+
RUN yarn install
41+
42+
RUN ls -l
43+
3944
# WORKDIR /home/node/ziti-browzer-bootstrapper
4045

4146
# Expose the Ziti BrowZer Bootstrapper for traffic to be proxied (8000) and the

0 commit comments

Comments
 (0)