peppa/template/Dockerfile

11 lines
615 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.

# Заглушка продукта (PEP-145): страница «Продукт создаётся» из product/. Проект открывается
# по ссылке с первого дня. Первая задача с настоящим продуктом заменяет этот файл своим
# (заготовки — deploy/Dockerfile.node, deploy/Dockerfile.python): приложение слушает $PORT
# и отвечает 200 на GET /healthz.
FROM node:22-alpine
WORKDIR /app
COPY product/ ./product/
ENV NODE_ENV=production PORT=3000
EXPOSE 3000
CMD ["node", "product/server.mjs"]