Skip to content
/ node Public

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

Notifications You must be signed in to change notification settings

systemsdk/node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published