v1.0.0b2
All checks were successful
Build Docker Image / build (push) Successful in 36s

This commit is contained in:
2025-11-28 04:51:21 -06:00
parent 9392eded43
commit 70f64f1766
8 changed files with 59 additions and 50 deletions

View File

@@ -1,7 +1,9 @@
import logging
import docker
from docker import DockerClient
import logger
from logger import setup_log
# Container Management
@@ -18,6 +20,9 @@ def run(client: DockerClient, image, app: str):
# Main Packaging Function
def pkg(app, version):
# Logging Setup
setup_log()
client = docker.from_env() # Docker.sock connection
try:
@@ -25,4 +30,4 @@ def pkg(app, version):
container = run(client, image, app)
except Exception as e:
logger.log(f"Error starting docker container for {app}", 40)
logging.error(f"Error starting docker container for {app}")