From a539375ae55cd013b9fb169e3180b5f96cd6b5d0 Mon Sep 17 00:00:00 2001 From: Jesse Ostrander Date: Sun, 3 Jul 2022 12:41:57 -0400 Subject: [PATCH] Upgrade docker image to node:alpine-18 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ddb5a4b..6a27fa1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM node:12 +FROM node:18-alpine RUN mkdir /app WORKDIR /app COPY ["package.json", "/app/"] COPY ["package-lock.json", "/app/"] -RUN npm install --no-fund +RUN npm ci --omit=dev --no-fund COPY ["src", "/app/src"]