Skip to content

Commit

Permalink
fix: frontend/dynatrace.Dockerfile to reduce vulnerabilities (#1119)
Browse files Browse the repository at this point in the history
  • Loading branch information
taustad and snyk-bot authored Apr 26, 2024
1 parent f8c8145 commit 7c8da21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/dynatrace.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ ARG DYNATRACE_PAAS_TOKEN
ARG DYNATRACE_TENANT
ARG DYNATRACE_URL
FROM ${DYNATRACE_URL}/e/${DYNATRACE_TENANT}/linux/oneagent-codemodules:all as dynatrace_repo
FROM node:lts-slim as build
FROM node:20.12.2-slim as build

WORKDIR /app

COPY package.json package-lock.json tsconfig.json ./
RUN npm install
COPY . .

FROM node:lts-slim
FROM node:20.12.2-slim
WORKDIR /app
COPY --from=build /app ./

Expand Down

0 comments on commit 7c8da21

Please sign in to comment.