chore: update node

This commit is contained in:
Damillora 2024-11-22 02:37:14 +07:00
parent aa1e9bad14
commit 9e0e9a4f8c

View File

@ -1,10 +1,10 @@
FROM node:16-alpine FROM node:20-alpine
# install dependencies # install dependencies
WORKDIR /app WORKDIR /app
COPY . . COPY . .
RUN npm install RUN npm install
RUN npm run build RUN npm run build
FROM node:16-alpine FROM node:20-alpine
WORKDIR /app WORKDIR /app
COPY --from=0 /app/build /app COPY --from=0 /app/build /app
COPY --from=0 /app/package.json /app COPY --from=0 /app/package.json /app