Dockerizing a Svelte app

Login to Docker Hub

$ docker login

create a Svelte container

$ docker build -t {yourDockerUsername}/svelte-app:1.0.0 .

Test the Svelte container by running it. It should be visible at localhost:8080

$ docker run -p 8080:5000 {yourDockerUsername}/svelte-app:1.0.0

Push the container to your Docker Hub account repository

$ docker push {yourDockerUsername}/svelte-app:1.0.0

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes