Skip to content

Commit

Permalink
Merge pull request #26 from MukuFlash03/fix-vuln
Browse files Browse the repository at this point in the history
Docker base node image upgraded.
  • Loading branch information
shankari authored Oct 20, 2023
2 parents b8c31a7 + 01ff77c commit b411365
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
FROM node:19-alpine
FROM node:20.7.0-alpine

RUN mkdir -p /public
WORKDIR /public

RUN npm i -g http-server

RUN apk update && apk upgrade busybox
RUN npm update -g

COPY client /public/client
COPY *.html /public/
Expand Down
3 changes: 1 addition & 2 deletions frontend/Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
FROM node:19-alpine
FROM node:20.7.0-alpine

RUN mkdir -p /public
WORKDIR /public

RUN npm i -g http-server

RUN apk update && apk upgrade busybox
RUN npm update -g

EXPOSE 5050
CMD ["http-server", "-p", "5050"]

0 comments on commit b411365

Please sign in to comment.