diff --git a/docker/Dockerfile b/docker/Dockerfile index 5f50a53c5..2f4dab3e4 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,5 +1,5 @@ # Stage 1 - build environment -FROM node:18-alpine AS build +FROM node:22-alpine AS build RUN apk add --no-cache python3 make g++ git @@ -26,7 +26,7 @@ RUN npm run build:web FROM nginx:stable-alpine # Copy artifacts and nignx.conf -COPY --from=build /usr/src/app/dist/ /usr/share/nginx/html +COPY --from=build /usr/src/app/dist/browser /usr/share/nginx/html COPY --from=build /usr/src/app/docker/nginx.conf /etc/nginx/conf.d/default.conf CMD sed -i "s#http://localhost:3333#$BACKEND_URL#g" /usr/share/nginx/html/main.js && nginx -g 'daemon off;' \ No newline at end of file