systemsdk/node

Sponsored OSS

By Systemsdk

Updated over 2 years ago

Docker environment with node 16 for Laravel/Symfony (based on official node docker hub repository).

Image
Languages & Frameworks
Integration & Delivery
Web Servers

470

Node environment

Docker environment with node 16 for Symfony/Laravel (based on official node docker hub repository).

Source code

Requirements

  • Docker version 18.06 or later
  • Docker compose version 1.22 or later

Integration to your environment

  1. Add next service to your docker-compose.yml:
node:
  image: systemsdk/node
  platform: linux/x86_64
  user: node
  container_name: node
  expose:
    - "8081"
  volumes:
    - ./:/var/www/html:delegated
  command: npm run watch
  1. Copy necessary rows from Makefile(which are commented) to your Makefile
  2. Build and run the project

Additional info:

Based on the popular Alpine Linux project. Alpine Linux is much smaller than most distribution base images (~5MB), and thus leads to much slimmer images in general.

Links

Docker Pull Command

docker pull systemsdk/node