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

Add docker & update JA readme #1096

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 11 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: '3'

services:
open-interpreter:
build:
context: ./docker
dockerfile: Dockerfile.mini
volumes:
- .:/app
tty:
true
11 changes: 11 additions & 0 deletions docker/Dockerfile.gpu
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM nvcr.io/nvidia/pytorch:23.08-py3


RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y git curl

RUN python3 -m pip install --upgrade pip
RUN pip install numpy matplotlib pandas
RUN pip install --upgrade open-interpreter

WORKDIR /app
14 changes: 14 additions & 0 deletions docker/Dockerfile.mini
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# FROM ubuntu:22.04
FROM python:3.13.0a5-slim-bullseye
# FROM nvcr.io/nvidia/pytorch:23.08-py3


RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y git curl

RUN python3 -m pip install --upgrade pip
RUN pip install numpy matplotlib pandas
# RUN pip install open-interpreter==0.1.4
RUN pip install --upgrade open-interpreter

WORKDIR /app
22 changes: 22 additions & 0 deletions docker/docker-compose.gpu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: '3'

services:
open-interpreter:
build:
context: .
dockerfile: Dockerfile
volumes:
- .:/content

# ports:
# - 1234:1234
tty:
true

working_dir: /content
deploy:
resources:
reservations:
devices:
- driver: nvidia
capabilities: [gpu]