copy Dockerfile
This commit is contained in:
parent
315ad2d5bd
commit
505d97d68a
|
@ -3,13 +3,11 @@ FROM node:bookworm AS build
|
||||||
RUN node -v
|
RUN node -v
|
||||||
|
|
||||||
# make the 'app' folder the current working directory
|
# make the 'app' folder the current working directory
|
||||||
CMD [ "pwd" ]
|
WORKDIR /dist
|
||||||
WORKDIR /app
|
|
||||||
CMD ['pwd']
|
|
||||||
#COPY dist
|
#COPY dist
|
||||||
|
|
||||||
FROM nginx
|
FROM nginx
|
||||||
COPY --from=build dist/ /usr/share/nginx/html/
|
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