Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker build failing: no .env file #3

Open
Free-Radical opened this issue Jun 3, 2023 · 1 comment
Open

docker build failing: no .env file #3

Free-Radical opened this issue Jun 3, 2023 · 1 comment

Comments

@Free-Radical
Copy link

Free-Radical commented Jun 3, 2023

I used the .env from LocalAI, docker compiled and send to be working.

@johndpope
Copy link

I think it's this file

https://github.com/go-skynet/LocalAI/blob/master/.env

you can rip out the buildcontext / image file.

version: '3.6'

services:
api:
image: quay.io/go-skynet/local-ai:latest
ports:
- 8080:8080
env_file:
- .env
volumes:
- ./models:/models:cached
command: ["/usr/bin/local-ai"]

frontend:
image: quay.io/go-skynet/localai-frontend:master
ports:
- 3000:3000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants