Main website. Check out the nxthdr project for more information.
- Run
npm installto install dependencies - Run
npm run devto start the development server- This will use the
.env.developmentconfiguration
- This will use the
To build the Docker image with production environment variables:
# From the project root directory
docker build -t nxthdr/website:latest -f docker/Dockerfile .The Docker build process will use the .env.production file from the repository.
If you need to change the environment settings for production:
- Edit the
.env.productionfile with your values - Commit the changes to your repository
- Build the Docker image