This commit is contained in:
parent
92daa55309
commit
e1119c4b42
10
Dockerfile
10
Dockerfile
|
@ -1,10 +1,8 @@
|
|||
#FROM node:bookworm AS build
|
||||
#RUN node -v
|
||||
#WORKDIR /app
|
||||
FROM nginx
|
||||
FROM node:bookworm AS build
|
||||
RUN node -v
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
#COPY --from=build /app/dist /usr/share/nginx/html/
|
||||
COPY /app/dist /usr/share/nginx/html/
|
||||
FROM nginx
|
||||
COPY --from=build /app/dist /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