From c927ae5ff6289ebc3c2321ec265b4c4d188b4309 Mon Sep 17 00:00:00 2001 From: Dan Head Date: Sat, 10 Feb 2018 18:14:36 +0000 Subject: [PATCH] Add Dockerfile --- Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..edf2107 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM node:8.9.4-alpine + +COPY ./ /var/www/html/wp-content/themes +WORKDIR /var/www/html/wp-content/themes + +ENV NODE_ENV production + +RUN npm install + +RUN npm run css:compile + +RUN mv theme windycoys