Add docker build files

This commit is contained in:
GooeyTuxedo 2023-04-07 15:49:18 -07:00
parent 715ddcd168
commit 2e92280130
2 changed files with 18 additions and 0 deletions

10
Dockerfile Normal file
View File

@ -0,0 +1,10 @@
FROM node:slim
WORKDIR /app
COPY package*.json ./
RUN npm install --omit=dev
COPY . .
CMD node index.js

8
docker-compose.yml Normal file
View File

@ -0,0 +1,8 @@
version: '3'
services:
midjourney-reborn-bot:
container_name: midjourney-reborn-bot
build:
context: .
environment:
- NODE_ENV=production