feat(07-02): Add CI/CD deployment scripts

- scripts/deploy.sh: Full deploy flow with fresh builds (--no-cache)
- scripts/build-check.sh: Pre-flight staleness check
- Docker labels for build tracking (git commit + timestamp)
- Prevents stale container bug from recurring
This commit is contained in:
2026-03-03 17:20:23 +01:00
parent 355919e07d
commit 53f4df6e3c
5 changed files with 113 additions and 0 deletions
+5
View File
@@ -10,6 +10,11 @@ RUN npm run build
FROM nginx:alpine
ARG GIT_COMMIT=unknown
ARG BUILD_DATE=unknown
LABEL org.opencontainers.image.revision=$GIT_COMMIT \
org.opencontainers.image.created=$BUILD_DATE
COPY --from=build /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf