copy Dockerfile
This commit is contained in:
parent
315ad2d5bd
commit
505d97d68a
|
@ -3,13 +3,11 @@ FROM node:bookworm AS build
|
|||
RUN node -v
|
||||
|
||||
# make the 'app' folder the current working directory
|
||||
CMD [ "pwd" ]
|
||||
WORKDIR /app
|
||||
CMD ['pwd']
|
||||
WORKDIR /dist
|
||||
#COPY dist
|
||||
|
||||
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
|
||||
#COPY _nginx/nginx.conf /etc/nginx/conf.d
|
||||
|
|
Loading…
Reference in New Issue