# This references the default nodejs container from
# the Docker Hub: https://registry.hub.docker.com/_/node/
# If you want Nodesource's container you would reference nodesource/node
# Read more about containers on our dev center
# http://devcenter.wercker.com/docs/containers/index.html
box: node
# This is the build pipeline. Pipelines are the core of wercker
# Read more about pipelines on our dev center
# http://devcenter.wercker.com/docs/pipelines/index.html

# You can also use services such as databases. Read more on our dev center:
# http://devcenter.wercker.com/docs/services/index.html
services:
    # - postgres
    # http://devcenter.wercker.com/docs/services/postgresql.html

    - id: mongo
    # http://devcenter.wercker.com/docs/services/mongodb.html
build:
  # The steps that will be executed on build
  # Steps make up the actions in your pipeline
  # Read more about steps on our dev center:
  # http://devcenter.wercker.com/docs/steps/index.html
  steps:
    - script:
        name: install dependencies and do the build
        code: |
          echo "node version $(node -v) running"
          echo "npm version $(npm -v) running"
          npm install -g grunt-cli
          npm install -g gulp
          npm install
          cd mean-app && npm install && bower install && cd ..
          grunt build
          cp releases/ "${WERCKER_OUTPUT_DIR}/"


# This references the default nodejs container from
# the Docker Hub: https://registry.hub.docker.com/_/node/
# If you want Nodesource's container you would reference nodesource/node
# Read more about containers on our dev center
# http://devcenter.wercker.com/docs/containers/index.html
box: node
# This is the build pipeline. Pipelines are the core of wercker
# Read more about pipelines on our dev center
# http://devcenter.wercker.com/docs/pipelines/index.html

# You can also use services such as databases. Read more on our dev center:
# http://devcenter.wercker.com/docs/services/index.html
services:
    # - postgres
    # http://devcenter.wercker.com/docs/services/postgresql.html

    - id: mongo
    # http://devcenter.wercker.com/docs/services/mongodb.html
build:
  # The steps that will be executed on build
  # Steps make up the actions in your pipeline
  # Read more about steps on our dev center:
  # http://devcenter.wercker.com/docs/steps/index.html
  steps:
    - script:
        name: install dependencies and do the build
        code: |
          echo "node version $(node -v) running"
          echo "npm version $(npm -v) running"
          npm install -g grunt-cli
          npm install -g gulp
          npm install
          cd mean-app && npm install && bower install && cd ..
          grunt build

Remove the line trying to copy and store the releases into wrecker artifacts
Remove the line trying to copy and store the releases into wrecker artifacts