Publishing Maven site as an docker image

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Publishing Maven site as an docker image

Nick_S
Hi folks,

Has anyone tried to publish the site generated by Maven as a docker image?
Are there examples of such a setup?

With regards,

Nick Stolwijk

~~~ Try to leave this world a little better than you found it and, when
your turn comes to die, you can die happy in feeling that at any rate you
have not wasted your time but have done your best ~~~

Lord Baden-Powell
Reply | Threaded
Open this post in threaded view
|

Re: Publishing Maven site as an docker image

Enrico Olivelli
Hi
What's the purpose of this new image?
Can you explain better please?

There is a mojo, site:run to run the website, so it should be easy to do
what you want.

Anyway the site is static so you can copy it to any web server

You can also deploy automatically the site via sftp or any provider
supported by Maven Wagon

Enrico

Il lun 23 dic 2019, 10:00 Nick Stolwijk <[hidden email]> ha
scritto:

> Hi folks,
>
> Has anyone tried to publish the site generated by Maven as a docker image?
> Are there examples of such a setup?
>
> With regards,
>
> Nick Stolwijk
>
> ~~~ Try to leave this world a little better than you found it and, when
> your turn comes to die, you can die happy in feeling that at any rate you
> have not wasted your time but have done your best ~~~
>
> Lord Baden-Powell
>
Reply | Threaded
Open this post in threaded view
|

Re: Publishing Maven site as an docker image

Manfred Moser-4
In reply to this post by Nick_S
Maven sites are just static HTML. Why would you publish that as a Docker image?

You can of course ... just run nginx or apache httpd and put the files in the root web server folder..

Manfred

Nick Stolwijk wrote on 2019-12-23 00:58 (GMT -08:00):

> Hi folks,
>
> Has anyone tried to publish the site generated by Maven as a docker image?
> Are there examples of such a setup?
>
> With regards,
>
> Nick Stolwijk
>
> ~~~ Try to leave this world a little better than you found it and, when
> your turn comes to die, you can die happy in feeling that at any rate you
> have not wasted your time but have done your best ~~~
>
> Lord Baden-Powell
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]