mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-04-27 00:08:45 +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
|
- .:/nitro-web
|
||||||
- node_modules:/nitro-web/node_modules
|
- node_modules:/nitro-web/node_modules
|
||||||
- node_modules_styleguide:/nitro-web/styleguide/node_modules
|
- node_modules_styleguide:/nitro-web/styleguide/node_modules
|
||||||
|
- nuxt:/nitro-web/.nuxt
|
||||||
command: yarn run dev
|
command: yarn run dev
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
node_modules:
|
node_modules:
|
||||||
node_modules_styleguide:
|
node_modules_styleguide:
|
||||||
|
nuxt:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user