FROM node:20-alpine RUN apk add --no-cache sqlite WORKDIR /server # For dev, we install in container, but to speed up, perhaps copy package and install # But since volumes mount, just run npm install in command CMD ["sh", "-c", "cd /server && npm install --no-audit --no-fund --silent && npm rebuild sqlite3 && npm run start:dev"]