-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Includes latest version upgrades for detected vulnerable packages - openssl. 2. Removed busy box upgrade as latest secure version is available in the base image upgrade itself. Had added it in the previous PR as back then base image didn’t have the latest package version.
- Loading branch information
Mahadik, Mukul Chandrakant
authored and
Mahadik, Mukul Chandrakant
committed
Dec 18, 2023
1 parent
b411365
commit 2399d6d
Showing
2 changed files
with
2 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
FROM node:20.7.0-alpine | ||
FROM node:20-alpine | ||
|
||
RUN mkdir -p /public | ||
WORKDIR /public | ||
|
||
RUN npm i -g http-server | ||
|
||
RUN apk update && apk upgrade busybox | ||
|
||
EXPOSE 5050 | ||
CMD ["http-server", "-p", "5050"] |