Skip to content
Snippets Groups Projects
Unverified Commit d97d6de8 authored by Márk Sági-Kazár's avatar Márk Sági-Kazár Committed by GitHub
Browse files

Merge pull request #1863 from faro-oss/feature/go-mod-dockerimage

Copy module dependencies to Docker image for CVE scanning / dependency analysis
parents 6ca0cbc8 f7efe49e
No related branches found
No related tags found
No related merge requests found
...@@ -37,6 +37,10 @@ USER 1001:1001 ...@@ -37,6 +37,10 @@ USER 1001:1001
COPY --from=0 /go/bin/dex /usr/local/bin/dex COPY --from=0 /go/bin/dex /usr/local/bin/dex
# Copy module dependencies for CVE scanning / dependency analysis.
COPY go.mod go.sum /opt/dex/dependencies/
COPY api/v2/go.mod api/v2/go.sum /opt/dex/dependencies/api/v2/
# Import frontend assets and set the correct CWD directory so the assets # Import frontend assets and set the correct CWD directory so the assets
# are in the default path. # are in the default path.
COPY web web COPY web web
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment