Skip to content

Commit

Permalink
feat(docker): Added dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasBoda committed Apr 18, 2024
1 parent 73602ba commit 1f14c5b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM oven/bun:latest

WORKDIR /app
COPY package*.json ./

RUN bun install

COPY . .
EXPOSE 3000

CMD ["bun", "run", "start"]
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,21 @@ agent snowflake 200 {
}
```

## Run Using Docker
To run AgentLang interpreter using Docker, run the following commands in your terminal.
```bash
# build the image
docker build -t agent-lang-interpreter-image
# run the image
docker run -it agent-lang-interpreter-image
```

## Installation
To integrate the AgentLang interpreter into your TypeScript project, add it as a git submodule and install all the necessary packages.
```bash
# add the submodule to your project
git submodule add https://github.com/TomasBoda/agent-lang-interpreter.git
# install necessary packages
cd agent-lang-interpreter
npm install
```
Expand Down

0 comments on commit 1f14c5b

Please sign in to comment.