mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
Address @mattwr18's review here:
https://github.com/Human-Connection/Human-Connection/pull/1543#pullrequestreview-287593264 Thinking about it, I really ask myself why I did not find this solution earlier 🙈 Of course, you don't want to share the generated `buildDir` with the host system. If you happen to share the `webapp/` folder, simply point NuxtJS to a build directory somewhere else. Easy!
This commit is contained in:
parent
bc153ee42e
commit
08244ab4b2
@ -13,6 +13,8 @@ services:
|
||||
target: build-and-test
|
||||
volumes:
|
||||
- ./webapp:/nitro-web
|
||||
environment:
|
||||
- NUXT_BUILD=/tmp/nuxt # avoid file permission issues when `rm -rf .nuxt/`
|
||||
command: yarn run dev
|
||||
backend:
|
||||
build:
|
||||
|
||||
@ -14,7 +14,6 @@ services:
|
||||
- backend
|
||||
volumes:
|
||||
- webapp_node_modules:/nitro-web/node_modules
|
||||
- webapp_nuxt_folder:/nitro-web/.nuxt
|
||||
environment:
|
||||
- HOST=0.0.0.0
|
||||
- GRAPHQL_URI=http://backend:4000
|
||||
@ -60,7 +59,6 @@ networks:
|
||||
hc-network:
|
||||
volumes:
|
||||
webapp_node_modules:
|
||||
webapp_nuxt_folder:
|
||||
backend_node_modules:
|
||||
neo4j_data:
|
||||
uploads:
|
||||
|
||||
2
webapp/.gitignore
vendored
2
webapp/.gitignore
vendored
@ -61,8 +61,6 @@ typings/
|
||||
|
||||
# nuxt.js build output
|
||||
.nuxt
|
||||
# also the build output in docker container
|
||||
.nuxt-dist
|
||||
|
||||
# Nuxt generate
|
||||
dist
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user