helloworldtrello/Dockerfile
2026-11-16 10:49:31 +05:00

8 lines
436 B
Docker
Raw 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