feat: add Dockerfile and deployment configuration; update metadata and project descriptions
Some checks failed
Build and Deploy Gabriel Kaszewski Portfolio / build-and-deploy-local (push) Failing after 10s

This commit is contained in:
2025-09-08 19:24:06 +02:00
parent a99b6353be
commit 368086f9bd
8 changed files with 155 additions and 5 deletions

View File

@@ -0,0 +1,23 @@
name: Build and Deploy Gabriel Kaszewski Portfolio
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-and-deploy-local:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Rebuild and Deploy with Docker Compose
run: |
docker build --target release -t local/gabriel-portfolio:latest .
docker compose up -d
# Clean up any old, unused images to save disk space
docker image prune -f