my-app/Dockerfile
Shautvast 521d86e50d Add Hello World test application for Hostityourself
Includes a Node.js HTTP server, static HTML page, and Dockerfile
for containerized self-hosting. Exposes a /health endpoint for
platform health checks.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-19 09:50:54 +01:00

7 lines
126 B
Docker

FROM node:20-alpine
WORKDIR /app
COPY package.json .
COPY server.js .
COPY index.html .
EXPOSE 3000
CMD ["node", "server.js"]