Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Docker packaging format for the Web backend #2122

Open
freakboy3742 opened this issue Jan 19, 2025 · 0 comments
Open

Add a Docker packaging format for the Web backend #2122

freakboy3742 opened this issue Jan 19, 2025 · 0 comments
Labels
enhancement New features, or improvements to existing features. not quite right The idea or PR has been reviewed, but more work is needed. web The issue relates to supporting the web as a platform.

Comments

@freakboy3742
Copy link
Member

What is the problem or limitation you are having?

The static web backend currently generates a big blob of files in a .zip, but leaves it up to the end-user how those files are served.

Docker is a common format for encapsulating a full web app in a pseudo-runnable format.

Describe the solution you'd like

briefcase package web should provide a -p docker option to generate a Docker container that can be executed to deploy the packaged app.

Describe alternatives you've considered

  1. Do nothing, and leave deployment entirely up to the end user.

  2. Treat this is a publication task. briefcase publish exists, but is a stub (on all platforms). "Publish to " could make more sense as a point of integration to build and publish a Docker container.

Additional context

See #2118 for a previous request of this feature.

If we choose to implement this a packaging feature, we would need to pick a web server to use in the Docker container. This is sure to be an area where there are Opinions; it also means that Briefcase puts itself on the critical path of CVEs for problems in whatever web server is selected.

@freakboy3742 freakboy3742 added enhancement New features, or improvements to existing features. not quite right The idea or PR has been reviewed, but more work is needed. web The issue relates to supporting the web as a platform. labels Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features, or improvements to existing features. not quite right The idea or PR has been reviewed, but more work is needed. web The issue relates to supporting the web as a platform.
Projects
None yet
Development

No branches or pull requests

1 participant