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
|
2024-01-11 00:10:45 +00:00
|
|
|
|
2024-01-10 22:53:46 +00:00
|
|
|
WORKDIR /app
|
|
|
|
COPY . .
|
2024-01-10 22:18:48 +00:00
|
|
|
|
2024-01-11 00:30:59 +00:00
|
|
|
|
2024-01-10 22:53:46 +00:00
|
|
|
FROM nginx
|
2024-01-10 23:15:38 +00:00
|
|
|
COPY --from=build /app /usr/share/nginx/html/
|
|
|
|
RUN rm /etc/nginx/conf.d/default.conf
|
|
|
|
COPY _nginx/nginx.conf /etc/nginx/conf.d
|