Skip to content

Commit

Permalink
Add build to docker-compose.yml and remove workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mayankchhabra committed Aug 14, 2023
1 parent 0d0335a commit d9a1df6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Build Docker images on master push

on:
push:
branches:
- master
tag:
- *

jobs:
build_api:
Expand Down
10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ version: '3.6'

services:
llama-gpt-api:
image: mayankchhabra/llama-gpt-api
ports:
- 9999:8000
build:
context: .
dockerfile: api.Dockerfile
environment:
MODEL: '/models/llama-2-7b-chat.bin'

llama-gpt-ui:
build:
context: ./ui
dockerfile: Dockerfile
context: .
dockerfile: ui.Dockerfile
ports:
- 3000:3000
environment:
Expand Down

0 comments on commit d9a1df6

Please sign in to comment.