Merge pull request #179 from jostrander/main

Upgrade docker image to node:alpine-18
This commit is contained in:
Michael Woods 2022-09-17 09:44:13 -04:00 committed by GitHub
commit 37a776195c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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