Skip to content

Commit

Permalink
fix: leaktopus_frontend/Dockerfile to reduce vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
snyk-bot committed Sep 21, 2023
1 parent bfd6258 commit 19223d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion leaktopus_frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COPY src ./src
RUN jq 'to_entries | map_values({ (.key) : ("$" + .key) }) | reduce .[] as $item ({}; . + $item)' ./src/config.json > ./src/config.tmp.json && mv ./src/config.tmp.json ./src/config.json
RUN npm install && npm run build

FROM nginx:1.23
FROM nginx:1.25.2
ENV JSFOLDER=/usr/share/nginx/html/js/*.js
COPY ./start-nginx.sh /usr/bin/start-nginx.sh
RUN chmod +x /usr/bin/start-nginx.sh
Expand Down

0 comments on commit 19223d9

Please sign in to comment.