helloworldtrello/Dockerfile
Peppa 9fe0400c28
All checks were successful
peppa/test test: success за 0с
ci / checks (pull_request) Successful in 4s
deploy / deploy (pull_request) Successful in 3s
HWT-3: выкладка по ссылке (nginx-образ, compose, deploy.yml)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 10:49:31 +05:00

8 lines
436 B
Docker
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Статический сайт без сборки: nginx отдаёт index.html, styles.css, app.js.
# Порт берётся из $PORT (шаблон конфига подставляет его при старте), /healthz отвечает 200.
FROM nginx:1.27-alpine
ENV PORT=3000
COPY deploy/nginx.conf.template /etc/nginx/templates/default.conf.template
COPY index.html styles.css app.js /usr/share/nginx/html/
EXPOSE 3000