felicity-lims/notes.txt
2024-11-22 17:46:45 +02:00

25 lines
No EOL
1.1 KiB
Text

// Publish changes to nmrl docker registry
// For every push change and bump the version up
// Server All in one
export $(grep -v '^#' .env | xargs) && sudo docker build -f Dockerfile.prod --target server-aio -t amusendame/felicity-lims:aio-0.1.4 .
docker push amusendame/felicity-lims:aio-0.1.1
// Server API
export $(grep -v '^#' .env | xargs) && sudo docker build -f Dockerfile.prod --target server-api -t amusendame/felicity-lims:api-0.1.4 .
docker push amusendame/felicity-lims:api-0.1.1
// View a summary of image vulnerabilities and recommendations
docker scout quickview
// Build nginx static
export $(grep -v '^#' .env | xargs) && sudo docker build -f Dockerfile.prod --target nginx-static -t amusendame/felicity-static-nginx:0.1.4 .
docker push amusendame/felicity-static-nginx:0.1.1
// Build caddy static
export $(grep -v '^#' .env | xargs) && sudo docker build -f Dockerfile.prod --target caddy-static -t amusendame/felicity-static-caddy:0.1.4 .
docker push amusendame/felicity-static-caddy:0.1.1
//
psql -U postgres -p 5432 -d felicity_lims -c "grant all on schema public to felicity"