tkuhn / nanopub-server

A simple server to publish nanopublications
MIT License
12 stars 11 forks source link

Add multi-stage build in Dockerfile #11

Closed jhisse closed 4 years ago

jhisse commented 4 years ago

Transfer Maven build into dockerfile with multi-stage build in deployment with Docker.

tkuhn commented 4 years ago

This is very nice, but I think I have to revert it for now, as the current Docker version in Ubuntu doesn't support these multi-stage builds yet... :(

tkuhn commented 3 years ago

I just manually updated Docker to the latest version, and this is now working nicely! :)

jhisse commented 2 years ago

@tkuhn sorry for the delayed response. The multi-stage build feature removes the dependencies necessary for compiling the server and keeps it in Docker environment. This is a nice feature in production servers. Happy that is working nicely!