diff --git a/Dockerfile b/Dockerfile index 91a5b43..b78adfe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM node:12-alpine +FROM node:18-alpine ENV WORKDIR /usr/src/app/ WORKDIR $WORKDIR COPY package*.json $WORKDIR RUN npm install --production --no-cache -FROM node:12-alpine +FROM node:18-alpine ENV USER node ENV WORKDIR /home/$USER/app WORKDIR $WORKDIR