diff --git a/.github/workflows/anchore-analysis.yml b/.github/workflows/anchore-analysis.yml index fda2524..636f236 100644 --- a/.github/workflows/anchore-analysis.yml +++ b/.github/workflows/anchore-analysis.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - images: [ 'server.Dockerfile' ] + images: [ 'server.Dockerfile', 'client.Dockerfile' ] steps: - name: Checkout the code diff --git a/client.Dockerfile b/client.Dockerfile new file mode 100644 index 0000000..ef2eaab --- /dev/null +++ b/client.Dockerfile @@ -0,0 +1,7 @@ +FROM node:6.14.2-slim + +WORKDIR /app + +COPY client . +RUN npm install && \ + npm install express express-jwt@5.3.3