FROM node:22-alpine WORKDIR /app # badge cards: the player's name and earnings are stamped onto the artwork with ffmpeg RUN apk add --no-cache ffmpeg COPY package.json ./ RUN npm install --omit=dev --no-audit --no-fund COPY . . RUN mkdir -p /app/data ENV NODE_ENV=production ENV PORT=3000 EXPOSE 3000 CMD ["node","server.js"]