Skip to content

Commit

Permalink
new docker-compose yaml that runs a service on which we actually run …
Browse files Browse the repository at this point in the history
…our commands JLM and supported files to create that (ex. Dockerfile). No need to install requirements
  • Loading branch information
jgwill committed Sep 23, 2024
1 parent 5a6bd34 commit 0cced28
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM ubuntu:20.04

# Install necessary packages
RUN apt-get update && apt-get install -y \
bash \
curl \
&& rm -rf /var/lib/apt/lists/*

# Set the working directory
WORKDIR /workspace

# Copy the project files into the container
COPY . /workspace

# Set environment variables
ENV WS_ROOT_PATH=.
ENV WS_CONDA_ENV_NAME=jlm

# Source the jlm script and start a bash session
CMD ["bash", "-c", "source jlm && exec bash"]
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# JLLM-Bash - A Wrapper for llm & Ollama made for your code editors

* see [STC.md](STC.md) for the next steps of my intent


## Coaia

**Prompts included**
Expand Down
5 changes: 5 additions & 0 deletions STC.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Goals

* new docker-compose yaml that runs a service on which we actually run our commands JLM


14 changes: 14 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: '3.8'

services:
jlm-service:
build: .
container_name: jlm_service
volumes:
- .:/workspace
working_dir: /workspace
environment:
- WS_ROOT_PATH=.
- WS_CONDA_ENV_NAME=jlm
ports:
- "8080:8080"

0 comments on commit 0cced28

Please sign in to comment.