18 lines
291 B
Docker
18 lines
291 B
Docker
FROM node:bookworm AS build
|
|
|
|
RUN node -v
|
|
|
|
# make the 'app' folder the current working directory
|
|
WORKDIR /dist
|
|
COPY . .
|
|
RUN echo "$PWD"
|
|
FROM nginx
|
|
RUN echo "$PWD"
|
|
COPY --from=build . /usr/share/nginx/html/
|
|
|
|
#RUN rm /etc/nginx/conf.d/default.conf
|
|
#COPY _nginx/nginx.conf /etc/nginx/conf.d
|
|
|
|
|
|
|