Attempt to fix environment mess

This commit is contained in:
Olusesan Ameye
2025-07-16 03:14:22 +00:00
parent b344f8ed3d
commit 91d126e56a
3 changed files with 17 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
APP_PORT=8091
ESLINT_NO_DEV_ERRORS=true
PANEL_URL=https://qa-panel.mermsemr.com
# auth routes
NEXT_PUBLIC_LOGIN_URL=https://qa-panel.mermsemr.com
NEXT_PUBLIC_SIGNUP_URL=https://qa-panel.mermsemr.com/auth/signup
# social links
NEXT_PUBLIC_FACEBOOK_URL=https://www.facebook.com/people/Mermsemr/100066498622246/
NEXT_PUBLIC_TWITTER_URL=#
NEXT_PUBLIC_INSTAGRAM_URL=#
NEXT_PUBLIC_YOUTUBE_URL=#
+2
View File
@@ -20,5 +20,7 @@ services:
- backend.wrenchboard.api.test:10.10.33.15
tty: true
stdin_open: true
environment:
- NODE_ENV=${NODE_ENV:-test}
volumes:
src:
+2 -1
View File
@@ -1,6 +1,7 @@
#!/bin/sh
set -e
echo "NODE_ENV=$NODE_ENV"
# Run command with node if the first argument contains a "-" or is not a system command. The last
# part inside the "{}" is a workaround for the following bug in ash/dash:
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874264
@@ -8,4 +9,4 @@ if [ "${1#-}" != "${1}" ] || [ -z "$(command -v "${1}")" ] || { [ -f "${1}" ] &&
set -- node "$@"
fi
exec "$@"
exec "$@"