Crucix — agent with dashboard, delta engine, Telegram/Discord bots
This commit is contained in:
19
Dockerfile
Normal file
19
Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM node:22-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Copy package files first for better layer caching
|
||||
COPY package*.json ./
|
||||
RUN npm install --production
|
||||
|
||||
# Copy source
|
||||
COPY . .
|
||||
|
||||
# Default port (override with -e PORT=xxxx)
|
||||
EXPOSE 3117
|
||||
|
||||
# Health check
|
||||
HEALTHCHECK --interval=60s --timeout=10s --retries=3 \
|
||||
CMD wget -qO- http://localhost:3117/api/health || exit 1
|
||||
|
||||
CMD ["node", "server.mjs"]
|
||||
Reference in New Issue
Block a user