Upgrade docker image to node:alpine-18

This commit is contained in:
Jesse Ostrander 2022-07-03 12:41:57 -04:00
parent 2e5f9621f8
commit a539375ae5

View File

@ -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"]