An open API service indexing awesome lists of open source software.

https://github.com/webmasterdevlin/svelte-k8s

https://hub.docker.com/repository/docker/webmasterdevlin/svelte-k8s
https://github.com/webmasterdevlin/svelte-k8s

Last synced: about 1 year ago
JSON representation

https://hub.docker.com/repository/docker/webmasterdevlin/svelte-k8s

Awesome Lists containing this project

README

          

#### Dockerizing a Svelte app

Login to Docker Hub

```zsh
$ docker login
```

create a Svelte container

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

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

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

Push the container to your Docker Hub account repository

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