| # Use a lightweight Node.js image | |
| FROM node:21-bullseye | |
| # Set working directory | |
| WORKDIR /app | |
| # Clone the repository (Change the URL to your repo) | |
| RUN git clone https://github.com/BLUEXDEMONl/RAT.git /app | |
| # Set correct permissions | |
| RUN chmod -R 777 /app | |
| # Install project dependencies | |
| WORKDIR /app | |
| RUN npm install | |
| # Expose a port | |
| EXPOSE 3000 | |
| # Start the application | |
| CMD ["node", "server.js"] |