sveltekit-docker-deployment/README.md

534 B

sveltekit-docker-deployment

A recipe for deploying a SvelteKit app via Docker Compose.

This project owes a lot to this reference.

To build a new image

docker-compose build

To start it up (and tail the logs - CTRL-C to quit out of the logs without affecting running container)

docker-compose up -d && docker-compose logs -f

To clear out an old image (if it's running)

docker-compose down --remove-orphans --rmi 'all'