2024-01-10 21:39:56 +00:00
|
|
|
FROM node:bookworm AS build
|
2024-01-02 18:51:59 +00:00
|
|
|
|
2024-01-10 17:46:39 +00:00
|
|
|
RUN node -v
|
|
|
|
|
2024-01-10 22:53:46 +00:00
|
|
|
WORKDIR /app
|
|
|
|
COPY . .
|
2024-01-10 22:18:48 +00:00
|
|
|
|
2024-01-10 22:16:46 +00:00
|
|
|
|
2024-01-10 22:53:46 +00:00
|
|
|
FROM nginx
|
2024-01-10 22:54:54 +00:00
|
|
|
RUN ls
|
2024-01-10 22:53:46 +00:00
|
|
|
COPY --from=build dist/ /usr/share/nginx/html/
|
2024-01-10 18:02:11 +00:00
|
|
|
|
2024-01-10 21:37:00 +00:00
|
|
|
#RUN rm /etc/nginx/conf.d/default.conf
|
|
|
|
#COPY _nginx/nginx.conf /etc/nginx/conf.d
|