Docker deployment
1
Build the image
From the project root, build the Docker image:
2
Run the container
Start the container and pass your environment variables:The API is now available at
http://localhost:4000.Docker environment variables
Pass these variables to the container using-e flags or a .env file with --env-file:
Dockerfile
Node.js deployment
To run Phisherman directly without Docker:tsc and then runs node dist/index.js.
For long-running production deployments, use a process manager such as PM2 to handle automatic restarts and logging: