Add Dockerfile
This commit is contained in:
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user