Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
amirnad committed Apr 10, 2024
1 parent 9df817b commit c93d425
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ COPY gadgets_scanners/exposure/tests/data/prometheus/req.sw.prometheus.tls.mutua
COPY gadgets_scanners/exposure/tests/data/prometheus/req.sw.prometheus.tls.version/applicable/prometheus.conf.yml \
/etc/prometheus/req.sw.prometheus.tls.version.yml

FROM scratch
COPY --from=build / /

# Nginx
# RUN mkdir -p /etc/nginx
COPY gadgets_scanners/exposure/tests/data/nginx/req.web.nginx.tls.version/applicable_invalid_args_1.conf /etc/nginx/nginx.conf
Expand All @@ -150,5 +153,4 @@ COPY gadgets_scanners/applicable/tests/data/python/CVE_2021_35042/applicable/mai
COPY gadgets_scanners/exposure/tests/data/passwords/req.pass.check-default/applicable/applicable.yaml \
/exposures/req.pass.check-default.yaml

FROM scratch
COPY --from=build / /

0 comments on commit c93d425

Please sign in to comment.