12 lines
247 B
Docker
12 lines
247 B
Docker
FROM node:22 AS build
|
|
WORKDIR /app
|
|
COPY package.json ./
|
|
COPY yarn.lock ./
|
|
RUN yarn install
|
|
COPY . .
|
|
RUN yarn build
|
|
|
|
FROM node:22-alpine
|
|
RUN --from=build PORT=80 node /app/.output/server/index.mjs
|
|
#COPY --from=build /app/dist /usr/share/nginx/html
|