Skip to content

Commit

Permalink
Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
isontheline committed Jun 4, 2024
1 parent 55098c3 commit 30c1194
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
10 changes: 10 additions & 0 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM mcr.microsoft.com/openjdk/jdk:17-ubuntu
EXPOSE 1985
EXPOSE 1984

RUN mkdir /data
RUN chown app:app /data
COPY build/libs/backend-0.0.0.jar /dragon.jar

USER app
ENTRYPOINT ["java","-Xmx512m", "-XX:+CrashOnOutOfMemoryError","-jar","-Dspring.profiles.active=prod","/dragon.jar"]
9 changes: 6 additions & 3 deletions docs/docs/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ Let's discover **dRAGon in less than 5 minutes**.

<WIPS />

### Gradle
### Docker
```shell
gradle bootRun
```
docker run --rm -p 1985:1985 -v $(pwd)/data:/data --name dragon dragon-okinawa/dragon
```

### Gradle
See [dRAGon Development Mode](/docs/contributing/launch-dragon-dev) for more information.
3 changes: 3 additions & 0 deletions docs/docs/integrations/librechat.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@ import WIPS from '../../src/components/Admonitions/_wip_section.mdx';
## As an AI Endpoint (OpenAI compatible)
<WIPS />

## As a LangChain.js Plugin
<WIPS />

## As an OpenAPI Plugin
<WIPS />

0 comments on commit 30c1194

Please sign in to comment.