Browse Source

Dockerfile

Herby Vojčík 6 years ago
parent
commit
dfe2235b98
1 changed files with 10 additions and 0 deletions
  1. 10 0
      Dockerfile

+ 10 - 0
Dockerfile

@@ -0,0 +1,10 @@
+FROM php:5-fpm
+ARG VER
+RUN \
+        mkdir -p /home/htmly/content && \
+        cd /home/htmly && \
+        curl -o /tmp/htmly,${VER}.tar.gz https://codeload.github.com/danpros/htmly/tar.gz/v2.7.4 && \
+        tar -x --strip-components=1 -zf /tmp/htmly,${VER}.tar.gz && \
+        chown -R www-data:www-data . && \
+        rm /tmp/htmly,${VER}.tar.gz
+VOLUME /home/htmly