Skip to content

Commit

Permalink
Merge pull request #25 from MukuFlash03/fix-vuln
Browse files Browse the repository at this point in the history
Fixing vulnerabilities in Docker images
  • Loading branch information
shankari authored Oct 18, 2023
2 parents 97f1501 + a8f5cdd commit 2cd1f6e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ 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/
COPY i18n /public/i18n
Expand Down
3 changes: 3 additions & 0 deletions frontend/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@ 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 2cd1f6e

Please sign in to comment.