2024-01-11 01:08:37 +00:00
|
|
|
#FROM node:bookworm AS build
|
|
|
|
#RUN node -v
|
|
|
|
#WORKDIR /app
|
2024-01-10 22:53:46 +00:00
|
|
|
FROM nginx
|
2024-01-11 01:08:37 +00:00
|
|
|
WORKDIR /app
|
|
|
|
COPY . .
|
2024-01-11 01:09:46 +00:00
|
|
|
#COPY --from=build /app/dist /usr/share/nginx/html/
|
|
|
|
COPY /app/dist /usr/share/nginx/html/
|
2024-01-10 23:15:38 +00:00
|
|
|
RUN rm /etc/nginx/conf.d/default.conf
|
2024-01-11 00:42:47 +00:00
|
|
|
COPY _nginx/nginx.conf /etc/nginx/conf.d
|