Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

[Snyk] Security upgrade node from 16.14.2-alpine to 16.18-alpine #48

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# First image to compile typescript to javascript
FROM node:16.14.2-alpine AS build-image
FROM node:16.18-alpine AS build-image
WORKDIR /app
COPY . .
RUN npm ci
RUN npm run build
RUN npm test

# Second image, that creates an image for production
FROM node:16.14.2-alpine AS prod-image
FROM node:16.18-alpine AS prod-image
WORKDIR /app
COPY --from=build-image ./app/dist ./dist
COPY package* ./
Expand Down