Skip to content

Commit 67cab55

Browse files
committed
Update result libs to latest versions & resolve socket.io CVE
Signed-off-by: Michael Irwin <[email protected]>
1 parent f9c58a0 commit 67cab55

File tree

6 files changed

+328
-528
lines changed

6 files changed

+328
-528
lines changed

result/Dockerfile

+7-9
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
FROM node:18-slim
22

33
# add curl for healthcheck
4-
RUN apt-get update \
5-
&& apt-get install -y --no-install-recommends \
6-
curl \
7-
tini \
8-
&& rm -rf /var/lib/apt/lists/*
4+
RUN apt-get update && \
5+
apt-get install -y --no-install-recommends curl tini && \
6+
rm -rf /var/lib/apt/lists/*
97

10-
WORKDIR /app
8+
WORKDIR /usr/local/app
119

1210
# have nodemon available for local dev use (file watching)
1311
RUN npm install -g nodemon
1412

1513
COPY package*.json ./
1614

17-
RUN npm ci \
18-
&& npm cache clean --force \
19-
&& mv /app/node_modules /node_modules
15+
RUN npm ci && \
16+
npm cache clean --force && \
17+
mv /usr/local/app/node_modules /node_modules
2018

2119
COPY . .
2220

0 commit comments

Comments
 (0)