From 6ee8a969dc3876d2e5210f3b9174d494014d1cb4 Mon Sep 17 00:00:00 2001 From: Sergio Moya <1083296+smoya@users.noreply.github.com> Date: Fri, 11 Feb 2022 17:46:53 +0100 Subject: [PATCH] fix: use node image as base to ensure version range --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 702bce43..b8b6995d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,8 @@ # ---- Base Alpine with installed Node ---- -FROM alpine:3.14.3 AS base +FROM node:14-alpine3.14 AS base # install node RUN apk add --update \ - nodejs=14.18.1-r0 \ - npm=7.17.0-r0 \ nghttp2 # ---- Install dependencies ----