diff --git a/compression/Dockerfile b/compression/Dockerfile
new file mode 100644
index 0000000..8a9040f
--- /dev/null
+++ b/compression/Dockerfile
@@ -0,0 +1,19 @@
+FROM maven:3.6.0-jdk-11
+WORKDIR /app
+
+# Download webgraph binary
+RUN curl -O http://webgraph.di.unimi.it/webgraph-3.6.1-bin.tar.gz
+RUN tar xvfz webgraph-3.6.1-bin.tar.gz
+RUN cp webgraph-3.6.1/webgraph-3.6.1.jar .
+
+# Download webgraph dependencies
+RUN curl -O http://webgraph.di.unimi.it/webgraph-deps.tar.gz
+RUN tar xvfz webgraph-deps.tar.gz
+
+# Download LAW (for LLP ordering)
+RUN curl -O http://law.di.unimi.it/software/download/law-2.5-bin.tar.gz
+RUN tar xvfz law-2.5-bin.tar.gz
+RUN cp law-2.5/law-2.5.jar .
+
+WORKDIR /graph
+COPY compress_graph.sh .
diff --git a/compression/compress_graph.sh b/compression/compress_graph.sh
new file mode 100755
index 0000000..ac1e42b
--- /dev/null
+++ b/compression/compress_graph.sh
@@ -0,0 +1,56 @@
+#!/bin/bash
+
+if [ "$#" -ne 2 ]; then
+ echo "Expected two arguments: