Skip to content

Incredibly fast crawler designed for OSINT.

Added alpine dockerfile

ktx29ac28e7a5c9
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..4b9fc88
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,16 @@
+FROM python:3-alpine
+
+LABEL name photon
+LABEL src "https://github.com/s0md3v/Photon"
+LABEL creator s0md3v
+LABEL dockerfile_maintenance khast3x
+LABEL desc "Incredibly fast crawler designed for reconnaissance."
+
+RUN apk add git && git clone https://github.com/s0md3v/Photon.git Photon
+WORKDIR Photon
+RUN pip install -r requirements.txt
+
+VOLUME [ "/Photon" ]
+# ENTRYPOINT ["sh"]
+ENTRYPOINT [ "python", "photon.py" ]
+CMD ["--help"]
diff --git a/README.md b/README.md
index 2683d9b..fb9778f 100644
--- a/README.md
+++ b/README.md
@@ -68,6 +68,21 @@ So basically, now you have 4 clients making requests to the same server simultan
- **[dnsdumpster](https://github.com/s0md3v/Photon/wiki/Usage#dumping-dns-data)**
- **[Exporter](https://github.com/s0md3v/Photon/wiki/Usage#export-formatted-result)**
+#### Docker
+
+Photon can be launched using a lightweight Python-Alpine (103MB) Docker image.
+```bash
+$ git clone https://github.com/s0md3v/Photon.git
+$ cd Photon
+$ docker build -t photon .
+$ docker run -it --name photon photon:latest -u google.com
+```
+To view results, you can either head over to the local docker volume, which you can find by running `docker inspect photon` or by mounting the target loot folder:
+
+```bash
+$ docker run -it --name photon -v "$PWD:/Photon/google.com" -u google.com
+```
+
#### Frequent & Seamless Updates
Photon is under heavy development and updates for fixing bugs. optimizing performance & new features are being rolled regularly.