1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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
beantwortet vor 3 Jahren
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 3 Monaten
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 3 Jahren