Static Docker production deployment? #9
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/recipes.coopcloud.tech#9
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently the approach to serving files is to define a
prod
script fornpm
which runselm-live
, run it as the DockerCMD
, and port-forward to that from Traefik.This seems like kind of a waste of resources and an excessive attack surface. We should just be able to run
npm build
and then wrap up thepublic
directory into an appropriately-configured Nginx container – but I need to get my head around Docker builds a bit more to work out how this should happen most efficiently.