This commit is contained in:
parent
9e07e4917a
commit
2b75aaf7bf
@ -1,7 +1,7 @@
|
||||
FROM node:22 AS build
|
||||
FROM node:22-alpine AS build
|
||||
WORKDIR /app
|
||||
COPY package.json ./
|
||||
COPY yarn.lock ./
|
||||
RUN corepack enable
|
||||
COPY package.json yarn.lock ./
|
||||
RUN yarn install
|
||||
COPY . .
|
||||
RUN yarn build
|
||||
@ -10,5 +10,5 @@ FROM node:22-alpine
|
||||
WORKDIR /app
|
||||
COPY --from=build /app/.output/ ./
|
||||
ENV PORT=80
|
||||
EXPOSE 80
|
||||
CMD ["node", "/app/server/index.mjs"]
|
||||
#COPY --from=build /app/dist /usr/share/nginx/html
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user