Add Dockerfile

Dockerfile to use matrix-chatgpt-bot via Docker
This commit is contained in:
Michiel Piscaer 2022-12-21 22:17:01 +01:00 committed by GitHub
parent 7bd7731dc3
commit a454e7f1b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

8
Dockerfile Normal file
View File

@ -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