Unifies directory structure in dev and prod containers

This commit is contained in:
chaptergy committed 2020-10-08 13:38:20 +02:00
1 parent 95208a50a7
commit 867fe1322b
4 files changed
+6 -4

No files matched your search

+3 -1
View File
@@ -21,7 +21,9 @@ services:
volumes:
- npm_data:/data
- le_data:/etc/letsencrypt
- ..:/app
- ../backend:/app
- ../frontend:/app/frontend
- ../global:/app/global
depends_on:
- db
working_dir: /app
+1 -1
View File
@@ -5,7 +5,7 @@ mkdir -p /data/letsencrypt-acme-challenge
cd /app || echo
if [ "$DEVELOPMENT" == "true" ]; then
cd /app/backend || exit 1
cd /app || exit 1
yarn install
node --max_old_space_size=250 --abort_on_uncaught_exception node_modules/nodemon/bin/nodemon.js
else