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