|
#FROM node:bookworm AS build
|
|
#RUN node -v
|
|
#WORKDIR /app
|
|
FROM nginx
|
|
WORKDIR /app
|
|
COPY . .
|
|
#COPY --from=build /app/dist /usr/share/nginx/html/
|
|
COPY /app/dist /usr/share/nginx/html/
|
|
RUN rm /etc/nginx/conf.d/default.conf
|
|
COPY _nginx/nginx.conf /etc/nginx/conf.d |