Upgrade docker image to node:alpine-18
This commit is contained in:
parent
2e5f9621f8
commit
a539375ae5
@ -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"]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user