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