Skip to content

Instantly share code, notes, and snippets.

@keeth
Last active October 27, 2021 18:37
Show Gist options
  • Save keeth/b8367736456f4fd105a254e2f42fac0e to your computer and use it in GitHub Desktop.
Save keeth/b8367736456f4fd105a254e2f42fac0e to your computer and use it in GitHub Desktop.
Next.js on Elastic Beanstalk, run 'next build' or 'npm run build' from .eb-extensions
container_commands:
01_build:
command: "PATH=$NODE_HOME/bin:$PATH $NODE_HOME/bin/npm run build"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment