A recipe for deploying a SvelteKit app via Docker Compose.
Find a file Use this template
2024-08-28 15:53:01 +12:00
.gitignore second commit with content but still need .env info 2024-08-28 15:53:01 +12:00
docker-compose.yml second commit with content but still need .env info 2024-08-28 15:53:01 +12:00
Dockerfile second commit with content but still need .env info 2024-08-28 15:53:01 +12:00
env.sample second commit with content but still need .env info 2024-08-28 15:53:01 +12:00
LICENSE Initial commit 2024-08-28 15:26:50 +12:00
README.md second commit with content but still need .env info 2024-08-28 15:53:01 +12:00

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'