dir dockerfile
This commit is contained in:
parent
f5d095222b
commit
0e8c784585
14
Dockerfile
14
Dockerfile
|
@ -1,12 +1,12 @@
|
|||
FROM node:bookworm AS build
|
||||
|
||||
RUN node -v
|
||||
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
#FROM node:bookworm AS build
|
||||
#RUN node -v
|
||||
#WORKDIR /app
|
||||
#COPY . .
|
||||
|
||||
|
||||
FROM nginx
|
||||
COPY --from=build /app /usr/share/nginx/html/
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
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