mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-03 17:18:51 +01:00
build(Dockerfile-app): add Dockerfile for building the app image
feat(docker-compose.yml): use pre-built image for api service instead of building from local file
This commit is contained in:
parent
901375bfa0
commit
f5ff91cfbd
2 changed files with 41 additions and 5 deletions
|
|
@ -15,13 +15,14 @@ services:
|
|||
# - api
|
||||
api:
|
||||
ports:
|
||||
- 3080:3080 # Change it to 9000:3080 if you want to use nginx
|
||||
- 3080:3080 # Change it to 9000:3080 to use nginx
|
||||
depends_on:
|
||||
- mongodb
|
||||
image: node-api
|
||||
build:
|
||||
context: .
|
||||
target: node-api
|
||||
# image: node-api # Uncomment this to build from local file
|
||||
# build:
|
||||
# context: .
|
||||
# target: node-api
|
||||
image: chatgptclone/app:0.3.3 # Comment this & uncomment above to build from local file
|
||||
restart: always
|
||||
env_file:
|
||||
- ./api/.env
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue