nginx-docker-static-svelte Svelte Themes

Nginx Docker Static Svelte

Docker image with basic Nginx server for Svelte static adapter.

nginx-docker-static-svelte

Docker image with basic Nginx server for Svelte static adapter. With this image there is no need for trailingSlash = 'always' settings.

Usage

You can serve your static build e.g. using docker-compose like this:

version: '3'

services:
  foo:
    container_name: foo
    image: zanne/nginx-docker-static-svelte:latest
    restart: unless-stopped
    ports:
      - 80:80
    volumes:
      - /dir/with/contents:/usr/share/nginx/html

Top categories

Loading Svelte Themes