mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-19 14:32:54 +08:00
updated docker files
This commit is contained in:
parent
ac34a62e30
commit
305ccd5e41
3 changed files with 12 additions and 14 deletions
|
@ -88,11 +88,8 @@ services:
|
|||
|
||||
felicity-static-caddy:
|
||||
container_name: felicity-static-caddy
|
||||
image: amusendame/felicity-static-caddy:0.1.1
|
||||
restart: unless-stopped
|
||||
build:
|
||||
context: ./
|
||||
target: caddy-static
|
||||
dockerfile: Dockerfile.prod
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
|
@ -115,11 +112,8 @@ services:
|
|||
|
||||
felicity-static-nginx:
|
||||
container_name: felicity-static-nginx
|
||||
image: amusendame/felicity-static-nginx:0.1.1
|
||||
restart: unless-stopped
|
||||
build:
|
||||
context: ./
|
||||
target: nginx-static
|
||||
dockerfile: Dockerfile.prod
|
||||
ports:
|
||||
- "80:80"
|
||||
environment:
|
||||
|
|
|
@ -16,11 +16,8 @@ networks:
|
|||
services:
|
||||
felicity-static-nginx:
|
||||
container_name: felicity-static-nginx
|
||||
image: amusendame/felicity-static-nginx:0.1.1
|
||||
restart: unless-stopped
|
||||
build:
|
||||
context: ./
|
||||
target: nginx-static
|
||||
dockerfile: Dockerfile.prod
|
||||
ports:
|
||||
- "80:80"
|
||||
environment:
|
||||
|
|
11
notes.txt
11
notes.txt
|
@ -2,13 +2,20 @@
|
|||
// For every push change and bump the version up
|
||||
|
||||
// Server All in one
|
||||
sudo docker build -f Dockerfile.prod --target server-aio -t amusendame/felicity-lims:aio-0.1.1 .
|
||||
export $(grep -v '^#' .env | xargs) && sudo docker build -f Dockerfile.prod --target server-aio -t amusendame/felicity-lims:aio-0.1.1 .
|
||||
docker push amusendame/felicity-lims:aio-0.1.1
|
||||
|
||||
// Server API
|
||||
sudo docker build -f Dockerfile.prod --target server-api -t amusendame/felicity-lims:api-0.1.1 .
|
||||
export $(grep -v '^#' .env | xargs) && sudo docker build -f Dockerfile.prod --target server-api -t amusendame/felicity-lims:api-0.1.1 .
|
||||
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-caddy:0.1.1 .
|
||||
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.1 .
|
||||
docker push amusendame/felicity-static-caddy:0.1.1
|
||||
|
|
Loading…
Reference in a new issue