diff --git a/backend/Dockerfile b/backend/Dockerfile new file mode 100644 index 00000000..7628c6c7 --- /dev/null +++ b/backend/Dockerfile @@ -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"] \ No newline at end of file diff --git a/docs/docs/getting-started.mdx b/docs/docs/getting-started.mdx index 587d151f..40387244 100644 --- a/docs/docs/getting-started.mdx +++ b/docs/docs/getting-started.mdx @@ -15,7 +15,10 @@ Let's discover **dRAGon in less than 5 minutes**. -### Gradle +### Docker ```shell -gradle bootRun -``` \ No newline at end of file +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. diff --git a/docs/docs/integrations/librechat.mdx b/docs/docs/integrations/librechat.mdx index 285fabcf..87bff7eb 100644 --- a/docs/docs/integrations/librechat.mdx +++ b/docs/docs/integrations/librechat.mdx @@ -4,5 +4,8 @@ import WIPS from '../../src/components/Admonitions/_wip_section.mdx'; ## As an AI Endpoint (OpenAI compatible) +## As a LangChain.js Plugin + + ## As an OpenAPI Plugin \ No newline at end of file