12 lines
460 B
Docker
12 lines
460 B
Docker
# Static greeter. Stock nginx serves /usr/share/nginx/html with no extra config;
|
|
# index.html, robots.txt and favicon.ico are picked up by the defaults.
|
|
FROM nginx:1.29-alpine
|
|
|
|
# Content is baked into the image rather than bind-mounted (as the old
|
|
# docker-compose setup did), so a rollout is just a new tag.
|
|
COPY index.html robots.txt favicon.ico /usr/share/nginx/html/
|
|
COPY _css/ /usr/share/nginx/html/_css/
|
|
COPY _img/ /usr/share/nginx/html/_img/
|
|
|
|
EXPOSE 80
|