Move build tasks in to shell script
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
FROM node:8.9.4-alpine
|
FROM node:9.7.1-alpine
|
||||||
|
|
||||||
COPY ./ /var/www/html/wp-content/themes
|
COPY ./ /var/www/html/wp-content/themes
|
||||||
WORKDIR /var/www/html/wp-content/themes
|
WORKDIR /var/www/html/wp-content/themes
|
||||||
@@ -7,6 +7,4 @@ ENV NODE_ENV production
|
|||||||
|
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
RUN npm run build
|
CMD ["sh", "build.sh"]
|
||||||
|
|
||||||
RUN mv theme windycoys
|
|
||||||
|
|||||||
Reference in New Issue
Block a user