Skip to content

Commit

Permalink
Merge pull request #27 from MukuFlash03/fix-vuln
Browse files Browse the repository at this point in the history
Fixing latest Docker image vulnerabilities
  • Loading branch information
shankari authored Dec 21, 2023
2 parents b411365 + eb56424 commit 9398495
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
FROM node:20.7.0-alpine
FROM node:21.5.0-alpine

RUN mkdir -p /public
WORKDIR /public

RUN npm i -g http-server

RUN apk update && apk upgrade busybox

COPY client /public/client
COPY *.html /public/
COPY i18n /public/i18n
Expand Down
4 changes: 1 addition & 3 deletions frontend/Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
FROM node:20.7.0-alpine
FROM node:21.5.0-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"]

0 comments on commit 9398495

Please sign in to comment.