Skip to content

Commit

Permalink
chore: store npm cache on host
Browse files Browse the repository at this point in the history
  • Loading branch information
velramiir committed Mar 22, 2024
1 parent 438b324 commit 2f13f52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev-overlay.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ services:
user: ${USERID}
working_dir: /var/workspace
environment:
HOME: "/tmp" # This is needed so npm can create the cache at the default location ~/.npm
# default npm cache location (~/.npm) is not writeable in the container
npm_config_cache: /var/workspace/.npm_cache
volumes:
- ${DEV_OVERLAY_DIR}:/var/workspace/:cached
ports:
Expand Down

0 comments on commit 2f13f52

Please sign in to comment.