Added docker compatibility
This commit is contained in:
@@ -0,0 +1,9 @@
|
|||||||
|
# Docker Compose for Open Ticket v4
|
||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
openticket:
|
||||||
|
build: .
|
||||||
|
volumes:
|
||||||
|
- .:/app
|
||||||
|
environment: NODE_ENV=production
|
||||||
|
restart: unless-stopped
|
||||||
+18
@@ -0,0 +1,18 @@
|
|||||||
|
# Docker File for Open Ticket v4
|
||||||
|
# Use the official Node.js 18 image from Docker Hub
|
||||||
|
FROM node:18-alpine
|
||||||
|
|
||||||
|
# Set a different working directory inside the container
|
||||||
|
WORKDIR /usr/src/openticket
|
||||||
|
|
||||||
|
# Copy package.json and package-lock.json into the container
|
||||||
|
COPY package*.json ./
|
||||||
|
|
||||||
|
# Install dependencies
|
||||||
|
RUN npm install
|
||||||
|
|
||||||
|
# Copy the rest of your app's source code into the container
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
# Run the bot from index.js
|
||||||
|
CMD ["node", "index.js"]
|
||||||
@@ -12,8 +12,9 @@ import ansis from "ansis"
|
|||||||
*/
|
*/
|
||||||
export interface ODCheckerManagerIds_Default {
|
export interface ODCheckerManagerIds_Default {
|
||||||
"openticket:general":ODChecker,
|
"openticket:general":ODChecker,
|
||||||
|
"openticket:questions":ODChecker,
|
||||||
"openticket:options":ODChecker,
|
"openticket:options":ODChecker,
|
||||||
"openticket:messages":ODChecker,
|
"openticket:panels":ODChecker,
|
||||||
"openticket:transcripts":ODChecker
|
"openticket:transcripts":ODChecker
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user