From 1744e209522284aab3794613f08c08b47bff32b9 Mon Sep 17 00:00:00 2001 From: Henrik Bierbum Bacher Date: Mon, 5 Dec 2022 18:27:58 +0100 Subject: Use official node image (#257) * Use official node image Use the official node which relies on a more recent version of alpine, the mhart image uses 3.11 which is end of life as of 7 months ago * Update Dockerfile * Update dependencies to run without openssl lgeacy workaround * Update line endings to fix prettier warnings --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 91bc3af..181bc7a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM mhart/alpine-node:14 as builder +FROM node:18-alpine as builder WORKDIR /tmp COPY . . RUN npx prettier --check ./src -RUN yarn && yarn build +RUN yarn && yarn build ### # production image -- cgit v1.2.3