Merge pull request #3 from mpiscaer/main

Add Dockerfile
This commit is contained in:
Jake Coppinger 2022-12-22 12:19:14 +11:00 committed by GitHub
commit 22a896c6f8
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