From a454e7f1b32e340976cc9bc0912811381456b701 Mon Sep 17 00:00:00 2001 From: Michiel Piscaer Date: Wed, 21 Dec 2022 22:17:01 +0100 Subject: [PATCH] Add Dockerfile Dockerfile to use matrix-chatgpt-bot via Docker --- Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..28c99b0 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM node:18 +RUN git clone https://github.com/jakecoppinger/matrix-chatgpt-bot.git +WORKDIR matrix-chatgpt-bot +COPY env .env +#RUN yarn install +RUN yarn install --har --production=true +RUN yarn build +RUN yarn start