kaboot/server/Dockerfile
2026-01-23 15:23:54 -07:00

18 lines
318 B
Docker

FROM node:22-alpine
WORKDIR /app
# Build dependencies + LibreOffice for legacy Office format conversion
RUN apk add --no-cache python3 make g++ libreoffice curl
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build && cp src/db/schema.sql dist/db/
RUN mkdir -p /data
EXPOSE 3001
CMD ["npm", "start"]