Add docker build files
This commit is contained in:
parent
715ddcd168
commit
2e92280130
10
Dockerfile
Normal file
10
Dockerfile
Normal 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
8
docker-compose.yml
Normal file
@ -0,0 +1,8 @@
|
||||
version: '3'
|
||||
services:
|
||||
midjourney-reborn-bot:
|
||||
container_name: midjourney-reborn-bot
|
||||
build:
|
||||
context: .
|
||||
environment:
|
||||
- NODE_ENV=production
|
Loading…
Reference in New Issue
Block a user