Skip to content

Commit

Permalink
Removes unused references to NODE_ENV after fix found
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbarnes committed Feb 25, 2025
1 parent bce217b commit 2922012
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
3 changes: 0 additions & 3 deletions .copilot/image_build_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,4 @@ export BUILD_STEP='True'
export COPILOT_ENVIRONMENT_NAME='build'
export DJANGO_SETTINGS_MODULE="fbr.settings"

# Set NODE_ENV to production
export NODE_ENV=production

python manage.py collectstatic --noinput
10 changes: 0 additions & 10 deletions entry.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
#!/bin/sh -e

# Set NODE_ENV to production
export NODE_ENV=production

# Set NODE_ENV to production only in staging and prod environments
# if [ "$COPILOT_ENVIRONMENT_NAME" = "staging" ] || [ "$COPILOT_ENVIRONMENT_NAME" = "prod" ]; then
# export NODE_ENV=production
# else
# export NODE_ENV=development
# fi

# Install Node.js dependencies
echo "Installing node modules..."
npm install
Expand Down

0 comments on commit 2922012

Please sign in to comment.