dir dockerfile

This commit is contained in:
Witalij Poljatchek 2024-01-11 02:08:37 +01:00
parent f5d095222b
commit 0e8c784585
1 changed files with 7 additions and 7 deletions

View File

@ -1,12 +1,12 @@
FROM node:bookworm AS build
RUN node -v
WORKDIR /app
COPY . .
#FROM node:bookworm AS build
#RUN node -v
#WORKDIR /app
#COPY . .
FROM nginx
COPY --from=build /app /usr/share/nginx/html/
WORKDIR /app
COPY . .
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