mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Separate .nuxt folders for docker and local setup
Creating a separate volume for .nuxt/ where nuxt stores its transpiled files ensures that both local and docker setup are isolated from each other. E.g. on Linux I see these annoying owner permission errors, because the user in the docker environment is called `root` not my user on my host system `robert`. This might be interesting for @mattwr18 too
This commit is contained in:
parent
69f8376915
commit
41f0a44d08
@ -9,8 +9,10 @@ services:
|
||||
- .:/nitro-web
|
||||
- node_modules:/nitro-web/node_modules
|
||||
- node_modules_styleguide:/nitro-web/styleguide/node_modules
|
||||
- nuxt:/nitro-web/.nuxt
|
||||
command: yarn run dev
|
||||
|
||||
volumes:
|
||||
node_modules:
|
||||
node_modules_styleguide:
|
||||
nuxt:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user