Skip to content

Commit 6cb9dc5

Browse files
committed
chore: upgrade Node.js version to 22-alpine and adjust artifact copy path in Dockerfile
1 parent 762c536 commit 6cb9dc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Stage 1 - build environment
2-
FROM node:18-alpine AS build
2+
FROM node:22-alpine AS build
33

44
RUN apk add --no-cache python3 make g++ git
55

@@ -26,7 +26,7 @@ RUN npm run build:web
2626
FROM nginx:stable-alpine
2727

2828
# Copy artifacts and nignx.conf
29-
COPY --from=build /usr/src/app/dist/ /usr/share/nginx/html
29+
COPY --from=build /usr/src/app/dist/browser /usr/share/nginx/html
3030
COPY --from=build /usr/src/app/docker/nginx.conf /etc/nginx/conf.d/default.conf
3131

3232
CMD sed -i "s#http://localhost:3333#$BACKEND_URL#g" /usr/share/nginx/html/main.js && nginx -g 'daemon off;'

0 commit comments

Comments
 (0)