We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 762c536 commit 6cb9dc5Copy full SHA for 6cb9dc5
docker/Dockerfile
@@ -1,5 +1,5 @@
1
# Stage 1 - build environment
2
-FROM node:18-alpine AS build
+FROM node:22-alpine AS build
3
4
RUN apk add --no-cache python3 make g++ git
5
@@ -26,7 +26,7 @@ RUN npm run build:web
26
FROM nginx:stable-alpine
27
28
# Copy artifacts and nignx.conf
29
-COPY --from=build /usr/src/app/dist/ /usr/share/nginx/html
+COPY --from=build /usr/src/app/dist/browser /usr/share/nginx/html
30
COPY --from=build /usr/src/app/docker/nginx.conf /etc/nginx/conf.d/default.conf
31
32
CMD sed -i "s#http://localhost:3333#$BACKEND_URL#g" /usr/share/nginx/html/main.js && nginx -g 'daemon off;'
0 commit comments