Skip to content

Develop#74

Merged
Tynab merged 5 commits into
mainfrom
develop
Jun 29, 2026
Merged

Develop#74
Tynab merged 5 commits into
mainfrom
develop

Conversation

@Tynab

@Tynab Tynab commented Jun 29, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings June 29, 2026 14:23
@Tynab
Tynab merged commit 0044cf8 into main Jun 29, 2026
2 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the portfolio’s static asset delivery to better handle Git LFS-managed binaries and improve reliability of containerized deployments by building the React app into a static bundle served by Nginx.

Changes:

  • Add a cache-busting query parameter for /skills/* images rendered by SoftwareSkill.
  • Introduce a Git LFS pointer verification script and run it during Docker image build.
  • Switch Docker runtime from npm start (Node) to serving the built bundle via Nginx (with a custom nginx.conf).

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/components/softwareSkills/SoftwareSkill.js Adds a version query param to skill image URLs for cache busting.
scripts/verify-lfs-assets.js Adds a build-time check to fail fast if Git LFS assets are still pointers.
package-lock.json Lockfile update (adds nested yaml dependency entry).
nginx.conf Adds SPA routing + static asset caching rules for Nginx.
Dockerfile Converts to multi-stage build: build React app in Node, serve via Nginx.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

const fs = require("fs");
const path = require("path");

const assetRoots = ["public", path.join("src", "assests")];
Comment thread nginx.conf
Comment on lines +12 to +15
location ^~ /skills/ {
add_header Cache-Control "no-cache";
try_files $uri =404;
}
Comment on lines +5 to +6
const skillAssetVersion = "2026-06-29-lfs-refresh";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants