Skip to content

Commit 9dcaf60

Browse files
committed
security updates
1 parent b2da029 commit 9dcaf60

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ COPY --chown=node:node package.json ./
1616
COPY --chown=node:node yarn.lock ./
1717

1818
# Install Yarn 4 globally
19-
RUN corepack enable && corepack prepare yarn@4.0.2 --activate
19+
RUN corepack enable && corepack prepare yarn@4.0.2 --activate && yarn config set nodeLinker node-modules
2020

2121
# Bring in the source of the Ziti BrowZer Bootstrapper to the working folder
2222
COPY --chown=node:node index.js .
@@ -25,7 +25,9 @@ COPY --chown=node:node lib ./lib/
2525
COPY --chown=node:node assets ./assets/
2626

2727
# Install dependencies (ensuring node_modules remains)
28-
RUN yarn install --immutable
28+
RUN yarn install
29+
30+
RUN ls -l
2931

3032
# Stage 2: Production-ready image
3133
FROM node:22-slim

0 commit comments

Comments
 (0)