diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..a8d717f
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,25 @@
+FROM php:7.4-apache
+RUN echo "deb http://deb.debian.org/debian bullseye main contrib non-free" > /etc/apt/sources.list && \
+ echo "deb http://deb.debian.org/debian bullseye-updates main contrib non-free" >> /etc/apt/sources.list && \
+ echo "deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-free" >> /etc/apt/sources.list && \
+ apt-get update
+RUN apt-get install -y --no-install-recommends \
+ imagemagick \
+ ghostscript \
+ libmagickwand-dev \
+ librsvg2-bin \
+ xfonts-100dpi \
+ xfonts-75dpi \
+ xfonts-base \
+ fonts-roboto \
+ fonts-inconsolata \
+ ttf-mscorefonts-installer \
+ fonts-open-sans \
+ fontconfig
+COPY server/fontconfig/* /etc/fonts/conf.d/
+RUN fc-cache -f -v
+RUN printf "\n" | pecl install imagick
+RUN mkdir -p /tmp
+RUN chmod a+rw /tmp
+
+RUN docker-php-ext-enable imagick
\ No newline at end of file
diff --git a/README.md b/README.md
index cd6f0f9..2ac135b 100644
--- a/README.md
+++ b/README.md
@@ -27,6 +27,19 @@ To reuse the display driver for another board, just redefine the macros to point
The server should be copied to a PHP enabled server, create a config.php and fill it. Also create a screens/ dir and chmod it to be world readable/writtable.
+How to run with docker
+----------------------
+
+If you have docker-compose installed, you can do a simple
+```
+docker-compose up --build
+````
+to start the server. To run it with docker directly you can run
+```
+docker build -t php-im/wifi-display .
+docker run -p 80:80 -v "$PWD/server":/var/www/html php-im/wifi-display
+```
+
Schematics
----------
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 0000000..0dd62ae
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,16 @@
+---
+ version: "3"
+ networks:
+ web:
+ driver: "bridge"
+ services:
+ wifi-display:
+ build:
+ context: .
+ dockerfile: Dockerfile
+ volumes:
+ - "./server:/var/www/html"
+ ports:
+ - "80:80"
+ networks:
+ - "web"
\ No newline at end of file
diff --git a/server/editor.php b/server/editor.php
index afc3121..4823f23 100644
--- a/server/editor.php
+++ b/server/editor.php
@@ -50,7 +50,7 @@
-
+