From 69c6c6fe09f514681ae40bc2ac49f1423fe72dcc Mon Sep 17 00:00:00 2001 From: Jose Henrique Date: Fri, 20 Mar 2026 23:37:41 -0300 Subject: [PATCH] maybe fixing pipeline docker --- Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fdfffeb..98abc98 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build stage -FROM node:20-alpine AS builder +FROM node:20 AS builder # Set working directory WORKDIR /app @@ -13,6 +13,9 @@ RUN npm install # Copy the rest of the application COPY . . +# Run prepare scripts to fetch required assets +RUN sh scripts/prepare_release.sh + # Build the application RUN npm run build @@ -22,6 +25,9 @@ FROM nginx:alpine # Copy the built application from the builder stage COPY --from=builder /app/dist /usr/share/nginx/html +# Copy the manifest.json +COPY manifest.json /usr/share/nginx/html/ + # Expose port 80 EXPOSE 80