Sign inSign up

txn2/asws

By txn2

Updated 11 months ago

ASWS Static Web Server

Image
2

5.6K

txn2/asws repository overview

ASWS Static Web Server

Serve a Static Site

The following example exposes port 2701 on your local machine and forwards all traffic to port 80 on the asws docker container:

docker run -e DEBUG=true -p 2701:80 -v "$(pwd)"/www:/www txn2/asws:1.2.3

Environment Variable Defaults

  • PORT="80"
  • STATIC_DIR="./www"
  • STATIC_PATH="./www"
  • FS_ENABLED="no"
  • FS_DIR="./files"
  • FS_PATH="/files"
  • DEBUG="false"

Tag summary

Content type

Image

Digest

sha256:50ed2d3e8

Size

5.8 MB

Last updated

11 months ago

docker pull txn2/asws