Update CI/CD pipeline and Dockerfile for Flutter web app: rename image tags and adjust output paths

This commit is contained in:
n.nakhostin
2025-08-31 17:04:40 +03:30
parent f542a99979
commit 67cf79577c
2 changed files with 11 additions and 10 deletions
+2 -2
View File
@@ -35,7 +35,7 @@ WORKDIR /app
# Clean and get packages
RUN flutter clean
RUN flutter pub get
RUN flutter build web --release --output=build/tender-pwa
RUN flutter build web --release --output=build/tm_pwa
# Stage 2 - Runtime with NGINX
FROM nginx:${NGINX}
@@ -49,7 +49,7 @@ RUN apk --no-cache add \
&& chown nginx:nginx /var/log/app
# Copy build files from Debian builder
COPY --from=builder /app/build/tender-pwa /usr/tm/nginx/html
COPY --from=builder /app/build/tm_pwa /usr/tm/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]