Skip to content

Instantly share code, notes, and snippets.

@Schrank
Created March 17, 2021 13:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Schrank/5a18be76b85c4d85280c51b980592685 to your computer and use it in GitHub Desktop.
Save Schrank/5a18be76b85c4d85280c51b980592685 to your computer and use it in GitHub Desktop.
This is a running docker container which can run MY (inherited) gulp setup I have no clue about

Build CSS & JS

cd <root-dir>
docker build -t gulp-builder .
docker run -v `pwd`:/opt gulp-builder npm install
docker run -v `pwd`:/opt gulp-builder ./node_modules/.bin/gulp
FROM node:12-buster
MAINTAINER Fabian Blechschmidt
WORKDIR /opt/magento/skin/frontend/rwd/theme
VOLUME ["/opt"]
CMD ["gulp", "default"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment