This base image contains nginx and is pre-configured for small container size while also including some basic settings for gzip compression and caching.
in your Dockerfile:
FROM coinlion/nginx
COPY app .
You may also set up a volume mount in your docker-compose.yml:
services:
web:
...
volumes:
- ./app:/usr/share/nginx/html
Content type
Image
Digest
Size
8 MB
Last updated
over 7 years ago
docker pull coinlion/nginx