mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-21 19:00:13 +01:00
wip: testing leaner docker strategy and deployment compose file (#719)
* nginx setup * chore(dev-images.yml): update workflow trigger to push events on main branch chore(dev-images.yml): remove building and pushing of librechat-dev-client image chore(nginx.conf): comment out SSL configuration in nginx.conf chore(deploy-compose.yml): uncomment api build configuration in deploy-compose.yml chore(deploy-compose.yml): update client build configuration in deploy-compose.yml
This commit is contained in:
parent
dae2805d27
commit
1f8520cdad
4 changed files with 18 additions and 11 deletions
10
.github/workflows/dev-images.yml
vendored
10
.github/workflows/dev-images.yml
vendored
|
|
@ -1,7 +1,9 @@
|
|||
name: Docker Dev Images Build
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
@ -29,7 +31,6 @@ jobs:
|
|||
run: |
|
||||
cp .env.example .env
|
||||
docker build -f Dockerfile.multi --target api-build -t librechat-dev-api .
|
||||
docker build -f Dockerfile.multi --target prod-stage -t librechat-dev-client .
|
||||
docker build -f Dockerfile -t librechat-dev .
|
||||
|
||||
# Tag and push the images to GitHub Container Registry
|
||||
|
|
@ -40,11 +41,6 @@ jobs:
|
|||
docker tag librechat-dev-api:latest ghcr.io/${{ github.repository_owner }}/librechat-dev-api:latest
|
||||
docker push ghcr.io/${{ github.repository_owner }}/librechat-dev-api:latest
|
||||
|
||||
docker tag librechat-dev-client:latest ghcr.io/${{ github.repository_owner }}/librechat-dev-client:${{ github.sha }}
|
||||
docker push ghcr.io/${{ github.repository_owner }}/librechat-dev-client:${{ github.sha }}
|
||||
docker tag librechat-dev-client:latest ghcr.io/${{ github.repository_owner }}/librechat-dev-client:latest
|
||||
docker push ghcr.io/${{ github.repository_owner }}/librechat-dev-client:latest
|
||||
|
||||
docker tag librechat-dev:latest ghcr.io/${{ github.repository_owner }}/librechat-dev:${{ github.sha }}
|
||||
docker push ghcr.io/${{ github.repository_owner }}/librechat-dev:${{ github.sha }}
|
||||
docker tag librechat-dev:latest ghcr.io/${{ github.repository_owner }}/librechat-dev:latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue