Closed yours-truly-phil closed 4 years ago
for production currently
> ./mvnw spring-boot:build-image -Pproduction
and then
> docker-compose up --build
which runs two containers (postgresql and soulswap app) and connects the soulswap app with the database to exchange data.
Cleaning up the hardcoded static paths in the Docker and docker-compose files and application.yml is not part of this issue, since it's not part of the first milestone.
build-image and also build layered jar or pretty much apply most of the stuff that's about deploying / building to docker presented here: Whats New in Spring Boot 2.3