Created
September 23, 2022 04:24
-
-
Save elvinlari/097473d2f4c6797c9ced265dd6679b9f to your computer and use it in GitHub Desktop.
NPM service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm: | |
image: node:alpine | |
container_name: npm | |
volumes: | |
- ./src:/var/www/html | |
- .env:/var/www/html/.env | |
ports: | |
- 3000:3000 | |
- 3001:3001 | |
working_dir: /var/www/html | |
profiles: ["npm"] | |
entrypoint: ['npm'] | |
networks: | |
- laravel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment