Files
brainstorming/Dockerfile
Alejandro Martinez 435aa4bf9a fix: disable Docker healthcheck, let Coolify manage it
wget healthcheck consistently fails even though server is listening.
Disable it and let Coolify handle health monitoring.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 16:05:30 +02:00

16 lines
469 B
Docker

FROM node:24-alpine
RUN apk add --no-cache python3 make g++
WORKDIR /app
COPY package.json ./
RUN npm install
RUN find node_modules -name "better_sqlite3.node" || (echo "FATAL: binding not found" && exit 1)
COPY . .
RUN npx nuxt build
RUN apk del make g++ && rm -rf /root/.cache /tmp/*
RUN mkdir -p /data && chown node:node /data
USER node
ENV NODE_ENV=production NODE_PATH=/app/node_modules
EXPOSE 3000
HEALTHCHECK NONE
ENTRYPOINT ["node", ".output/server/index.mjs"]