https://github.com/timo-reymann/nginx-spa
Docker container to host your single page application
https://github.com/timo-reymann/nginx-spa
docker nginx spa
Last synced: 4 months ago
JSON representation
Docker container to host your single page application
- Host: GitHub
- URL: https://github.com/timo-reymann/nginx-spa
- Owner: timo-reymann
- License: other
- Created: 2019-05-03T15:39:17.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2026-01-27T15:44:07.000Z (5 months ago)
- Last Synced: 2026-01-28T02:18:59.298Z (5 months ago)
- Topics: docker, nginx, spa
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/timoreymann/nginx-spa
- Size: 138 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
nginx-spa
===
[](https://github.com/timo-reymann/nginx-spa/releases)
[](https://hub.docker.com/r/timoreymann/nginx-spa)
[](https://renovatebot.com)
[](https://github.com/timo-reymann/nginx-spa/actions/workflows/main.yml)
This is a really simple docker image to run your spa via docker without any configuration.
## Features
- Secure by default
- Caching optimized
- Optimized, single layered base image
## Requirements
- [Docker](https://docs.docker.com/get-docker/)
## Usage
Mount or build your files under `/app`, the container is running under `1002:1002` as unprivileged container on port `8080`.
### Example docker run command
```sh
docker run --name=my-spa -v $PWD:/app -p 8000:8000 timoreymann/nginx-spa
```
## Contributing
I love your input! I want to make contributing to this project as easy and transparent as possible, whether it's:
- Reporting a bug
- Discussing the current state of the configuration
- Submitting a fix
- Proposing new features
- Becoming a maintainer
To get started please read the [Contribution Guidelines](./CONTRIBUTING.md).
## Development
### Requirements
- [Docker](https://docs.docker.com/get-docker/)