FROM node:20-alpine

WORKDIR /app

ENV NPM_CONFIG_FUND=false \
    NPM_CONFIG_AUDIT=false \
    NPM_CONFIG_UPDATE_NOTIFIER=false

RUN apk add --no-cache bash

EXPOSE 3000

CMD ["sh", "-lc", "npm run dev --workspace=@gridpilot/website"]