Skip to content

Commit d237c4f

Browse files
committed
security updates
1 parent 45be0a1 commit d237c4f

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

Dockerfile

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ WORKDIR /home/node/ziti-browzer-bootstrapper
1414
COPY --chown=node:node package.json ./
1515
COPY --chown=node:node yarn.lock ./
1616

17-
# Install yarn 4
18-
RUN corepack enable
19-
RUN corepack prepare yarn@4.0.2 --activate
17+
# # Install yarn 4
18+
# RUN corepack enable
19+
# RUN corepack prepare yarn@4.0.2 --activate
2020

2121
# Install the dependencies for the Ziti BrowZer Bootstrapper according to yarn.lock (ci) without
2222
# devDepdendencies (--production), then uninstall npm which isn't needed.
@@ -38,6 +38,12 @@ RUN chown -R node:node /home/node/ziti-browzer-bootstrapper
3838
USER node
3939

4040
WORKDIR /home/node/ziti-browzer-bootstrapper
41+
42+
# Install yarn 4
43+
RUN corepack enable
44+
RUN corepack prepare yarn@4.0.2 --activate
45+
46+
# Install deps
4147
RUN yarn install
4248

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

0 commit comments

Comments
 (0)