FROM node:20-bookworm

WORKDIR /app

COPY package*.json ./
RUN npm install

COPY . .

COPY flag.txt /flag.txt

EXPOSE 3000

CMD ["npm", "start"]