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