1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
2
I figured it out. I had to change discard-paths from yes to no in the CodeBuild Buildspec file and add a Procfile to the project that pointed to the full path of the jar file. The full .platform directory structure needs to remain intact for the nginx conf files to be able to end up in the correct location within the /etc/nginx directory. This is what I ended up with in the Buildspec file:
artifacts:
files:
- target/myapp.jar
- .ebextensions//*
- .platform//*
- Buildfile
- Procfile
discard-paths: no
con risposta 3 anni fa
Contenuto pertinente
- AWS UFFICIALEAggiornata 3 anni fa
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 3 mesi fa