From f752623efe84052ed0bc2c00da9ed13b32009a91 Mon Sep 17 00:00:00 2001 From: Gerald Unterrainer Date: Fri, 19 Nov 2021 09:24:02 +0100 Subject: [PATCH] update Dockerfile --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index be817fa..b65e139 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,9 @@ -FROM node:lts-alpine as builder +FROM node:12-alpine as builder WORKDIR '/app' COPY ./package.json ./ -RUN npm install -COPY . . +RUN node --version && npm --version + +COPY . . RUN npm run build FROM nginx:stable-alpine