FROM node:24-alpine # Bash is required by docker/wait-for-it.sh when this image is used by docker-compose. # FFmpeg is bundled by ffmpeg-static/ffprobe-static npm packages. RUN apk add --no-cache bash # Create app directory WORKDIR /usr/src/app # Install app dependencies COPY package*.json ./ RUN npm ci # Bundle app source COPY . . EXPOSE 3000 CMD [ "npm", "run", "start" ]