forked from wearedevx/llm-bash
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new docker-compose yaml that runs a service on which we actually run …
…our commands JLM and supported files to create that (ex. Dockerfile). No need to install requirements
- Loading branch information
Showing
4 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |