diff --git a/Dockerfile b/Dockerfile index b0fa0a1..820ce10 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,8 @@ -#FROM node:bookworm AS build -#RUN node -v -#WORKDIR /app -FROM nginx +FROM node:bookworm AS build +RUN node -v WORKDIR /app COPY . . -#COPY --from=build /app/dist /usr/share/nginx/html/ -COPY /app/dist /usr/share/nginx/html/ +FROM nginx +COPY --from=build /app/dist /usr/share/nginx/html/ RUN rm /etc/nginx/conf.d/default.conf COPY _nginx/nginx.conf /etc/nginx/conf.d \ No newline at end of file