Closed PeterNotFound114 closed 1 month ago
Why delete all the seed files? Feels like they'd be extra useful for spinning up a local docker container
Adding them back now ... seems that they're deleted while I was testing if the docker image can run independent of all prior setups. Thanks for pointing that out!
Thanks for maintaining this btw!
By the way, this is the link to official docs for getting started with Docker (and its plugin docker-compose) which I find particularly helpful for onboarding new members: https://docs.docker.com/compose/gettingstarted/
Overview
Created Dockerfile and compose.yml file that enables running the application from a virtual container independent of system dependencies.
Requirement
Have Docker installed on your machine, which can be found here
Description
From the root directory of the project:
docker compose up --watch
to run the application in the dev server inside the container. The UI will be visible from https://localhost:3000/app
will be synchronized after refreshing the browser page.docker compose down
after exiting Puma (presumably by Ctrl+C) to free resources occupied by the container.