Skip to content
Snippets Groups Projects
Commit a3117d11 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

added empty npm cache dir

parent 70a68c5b
Branches
No related tags found
1 merge request!27Resolve "Update CI"
version: '3.7' version: '3.7'
services: services:
assets: assets:
image: node:10 image: node:16
user: "1000:1000"
volumes: volumes:
- .:/usr/src/app - .:/usr/src/app
- .npm:/home/node/.npm
working_dir: /usr/src/app working_dir: /usr/src/app
command: bash -c "npm install && npm run watch" command: bash -c "chown 1000:1000 .npm && npm install && npm run watch"
phpfpm: phpfpm:
depends_on: depends_on:
- "assets" - "assets"
...@@ -42,3 +44,5 @@ services: ...@@ -42,3 +44,5 @@ services:
volumes: volumes:
- .:/html - .:/html
command: "su -s /bin/sh -c 'php artisan requests:fetcher' www-data" command: "su -s /bin/sh -c 'php artisan requests:fetcher' www-data"
volumes:
node-cache:
\ No newline at end of file
Source diff could not be displayed: it is too large. Options to address this: view the blob.
Source diff could not be displayed: it is too large. Options to address this: view the blob.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment