static-web-server/static-web-server

Add Windows-based Docker image

Open

#557 建立於 2025年8月22日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Rust (121 fork)github user discovery
enhancementhelp wantedv2

倉庫指標

Star
 (2,253 star)
PR 合併指標
 (PR 指標待抓取)

描述

Search for duplicate feature request

  • I already searched, and this feature request or improvement is not a duplicate.

Feature scope

Target/OS/arch/platform

Feature request related to a problem

The Windows binaries work quite well on Windows and even on Docker Windows Containers such as mcr.microsoft.com/windows/nanoserver.

However, if we have to work with Windows-based images, in order to use SWS (e.g. in a multi-container setup which needs a simple static http server), we have to build a new image instead of simply pulling a pre-built official image from Docker Hub like what's possible with Linux-based container images at joseluisq/static-web-server

Describe the solution you'd like

It would be great if you could please add Windows-based container images to the joseluisq/static-web-server Docker Hub.

From experience, the 3 main images at microsoft/windows-nanoserver seem to work well with SWS while also being relatively small in size:

  • mcr.microsoft.com/windows/nanoserver:ltsc2025
  • mcr.microsoft.com/windows/nanoserver:ltsc2022
  • mcr.microsoft.com/windows/nanoserver:ltsc2019

Describe alternatives you've considered

Build target

x86_64-pc-windows-msvc

Additional context

Thank you for this simple and performant tool!

貢獻者指南