Unverified Commit fc4dbf24 authored by Jeffrey Phillips Freeman's avatar Jeffrey Phillips Freeman 💥
Browse files

build: Added docker-compose file capable of building the website.

parent 61c98445
Pipeline #154 failed with stage
in 1 minute and 55 seconds
......@@ -14,5 +14,5 @@ LDFLAGS="-L/usr/local/opt/libffi/lib" PKG_CONFIG_PATH="/usr/local/opt/libffi/lib
Alternatively compile it using a docker container:
docker run -v "$PWD":/app nielsvdoorn/middleman bundle install && bower install && bundle exec middleman build
UID=${UID} GID=${GID} docker-compose up
version: '3'
container_name: middleman_buildchain
image: 'syncleus/middleman-buildchain:latest'
#user: "$UID:$GID"
command: sh -c "bundle install; bower --allow-root install; bundle exec middleman build; chown -R ${UID}:${GID} /app"
- '${PWD}:/app'
# environment:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment