From 2817165386b24a9f837d95678e91260f67587bfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Henrique?= Date: Thu, 23 Jan 2025 08:20:34 -0300 Subject: [PATCH] update base image to node:23-slim and change build output directory to /app/dist --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4dcec61..f6cd1d5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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