Initial project setup (node)

This commit is contained in:
ufo6849
2026-03-19 19:44:54 +09:00
parent 7a4aacb0c3
commit c7690a0fd8
7 changed files with 214 additions and 0 deletions

9
Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci --only=production
COPY . .
EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
CMD wget -qO- http://localhost:3000/health || exit 1
CMD ["node", "server.js"]