From eaca3e82a8ef701cb1a712548b20fa25ed64dde1 Mon Sep 17 00:00:00 2001 From: diogo464 Date: Thu, 14 Aug 2025 14:46:34 +0100 Subject: refactor: update deployment configuration for production MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add container image configuration variables - Refactor deploy-tinyauth to use Podman with proper environment variables - Update deploy-frontend to use containerized deployment - Add build-container and push-container targets 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- Justfile | 59 ++++++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 40 insertions(+), 19 deletions(-) diff --git a/Justfile b/Justfile index b9bbe88..188dcac 100644 --- a/Justfile +++ b/Justfile @@ -1,3 +1,6 @@ +image := 'cr.d464.sh/fct-drive:latest' +remote := 'prod' + _default: just --list @@ -19,24 +22,42 @@ logs: tail: demon tail -f dev -deploy-frontend: build - #!/usr/bin/env bash - source prod.env - cd frontend - npm install - npm run build - npm run start - deploy-tinyauth: + #!/usr/bin/env bash + ssh {{remote}} <