conductor/backend/Dockerfile
2026-07-18 10:23:13 -04:00

17 lines
296 B
Docker

FROM node:20-alpine
# better-sqlite3 requires a native compile step via node-gyp.
# Alpine does not ship these tools by default, so install them first.
RUN apk add --no-cache python3 make g++
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 4000
CMD ["npm", "run", "dev"]