moqui / moqui-framework

Use Moqui Framework to build enterprise applications based on Java. It includes tools for databases (relational, graph, document), local and web services, web and other UI with screens and forms, security, file/resource access, scripts, templates, l10n, caching, logging, search, rules, workflow, multi-instance, and integration.
http://www.moqui.org
Other
279 stars 200 forks source link

Add Dockerfile for building and creating an image #550

Closed acetousk closed 6 months ago

acetousk commented 1 year ago

As discussed in community meetings.

Dockerfile builds moqui in a Docker container, then uses the output to create a container suitable for running (copied from docker/simple).

acetousk commented 1 year ago

Should work, but looking for feedback before merging.

jonesde commented 1 year ago

This is an interesting idea, looks like adding a Dockerfile to the root (and a bit more flexible one) instead of replacing the one under docker/simple or adding something like docker/default to put it there.

I'll think on it more, but it might be worth it. It's a bummer adding more files to the root directory, but maybe we should do this and even move the docker directory to a separate repo... I usually use it that way anyway, putting it in a separate repo to configure a particular deployment (if using docker compose files) and it would be nice to just have one to clone. With a moqui-docker-compose separate repo we could also have moqui-kubernetes and other such repos for reference deployment configs.

Thoughts?

acetousk commented 6 months ago

I don't think is really needed anymore. I'm closing this pr