This commit is contained in:
parent
7853ba2685
commit
662c6e3500
18
Dockerfile
18
Dockerfile
|
@ -2,22 +2,12 @@ FROM node:bookworm AS build
|
||||||
|
|
||||||
RUN node -v
|
RUN node -v
|
||||||
|
|
||||||
# make the 'app' folder the current working directory
|
WORKDIR /app
|
||||||
|
COPY . .
|
||||||
RUN pwd
|
|
||||||
RUN ls
|
|
||||||
WORKDIR /dist
|
|
||||||
RUN pwd
|
|
||||||
RUN ls
|
|
||||||
#COPY . .
|
|
||||||
|
|
||||||
|
|
||||||
#FROM nginx
|
FROM nginx
|
||||||
#RUN echo "----------------------------"
|
COPY --from=build dist/ /usr/share/nginx/html/
|
||||||
#RUN pwd
|
|
||||||
#RUN ls
|
|
||||||
#RUN echo "----------------------------"
|
|
||||||
#COPY --from=build . /usr/share/nginx/html/
|
|
||||||
|
|
||||||
#RUN rm /etc/nginx/conf.d/default.conf
|
#RUN rm /etc/nginx/conf.d/default.conf
|
||||||
#COPY _nginx/nginx.conf /etc/nginx/conf.d
|
#COPY _nginx/nginx.conf /etc/nginx/conf.d
|
||||||
|
|
Loading…
Reference in New Issue