FROM node:21 # Install netcat RUN apt-get update && apt-get install -y netcat-traditional WORKDIR /usr/src/app # Copy package.json and package-lock.json to the working directory COPY package*.json ./ RUN npm install COPY . . EXPOSE 4300 ENTRYPOINT ["./entrypoint.sh"]