2 changed files with 1986 additions and 266 deletions
@ -1,13 +0,0 @@ |
|||||||
FROM node:23-alpine AS build |
|
||||||
|
|
||||||
WORKDIR /app |
|
||||||
|
|
||||||
COPY . ./ |
|
||||||
COPY package.json ./ |
|
||||||
COPY package-lock.json ./ |
|
||||||
RUN npm install |
|
||||||
RUN npm run build |
|
||||||
|
|
||||||
EXPOSE 80 |
|
||||||
FROM nginx:1.27.4 |
|
||||||
COPY --from=build /app/build /usr/share/nginx/html |
|
||||||
Loading…
Reference in new issue