2024-01-10 21:39:56 +00:00
|
|
|
FROM node:bookworm AS build
|
2024-01-02 18:51:59 +00:00
|
|
|
|
2024-01-10 17:46:39 +00:00
|
|
|
RUN node -v
|
|
|
|
|
|
|
|
# make the 'app' folder the current working directory
|
2024-01-10 21:50:43 +00:00
|
|
|
WORKDIR /dist
|
2024-01-10 21:57:57 +00:00
|
|
|
COPY . .
|
|
|
|
CMD [ "pwd" ]
|
2024-01-10 21:47:25 +00:00
|
|
|
FROM nginx
|
2024-01-10 21:57:57 +00:00
|
|
|
CMD [ "pwd" ]
|
2024-01-10 21:50:43 +00:00
|
|
|
COPY --from=build . /usr/share/nginx/html/
|
2024-01-10 18:02:11 +00:00
|
|
|
|
2024-01-10 21:37:00 +00:00
|
|
|
#RUN rm /etc/nginx/conf.d/default.conf
|
|
|
|
#COPY _nginx/nginx.conf /etc/nginx/conf.d
|
2024-01-09 17:28:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
|