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