update base image to node:23-slim and change build output directory to /app/dist
This commit is contained in:
parent
b21b165723
commit
2817165386
@ -1,4 +1,4 @@
|
||||
FROM node:9.8-slim AS build
|
||||
FROM node:23-slim AS build
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@ -13,7 +13,7 @@ RUN ls -la /app
|
||||
|
||||
FROM nginx:alpine
|
||||
|
||||
COPY --from=build /app/build /usr/share/nginx/html
|
||||
COPY --from=build /app/dist /usr/share/nginx/html
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user