softspring/docker-yarn-encore-dev

This package is abandoned and no longer maintained. No replacement package was suggested.

Docker yarn container for webpack

Installs: 1 626

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Language:Dockerfile

v1.0.1 2018-10-29 11:15 UTC

This package is auto-updated.

Last update: 2020-03-29 05:56:01 UTC


README

Docker yarn container for webpack.

Install

composer require softspring/docker-yarn-encore-dev --no-scripts --dev

Configure docker-compose.yaml

version: '3'

services:
  yarn:
    container_name: container_name
    build:
        context: vendor/softspring/docker-yarn-encore-dev
        args:
          USER_NAME: <USERNAME>
          UID: <UID>
    working_dir: /app
    volumes:
     - .:/app
    user: <USERNAME>
    environment:
      USER_NAME: <USERNAME>