v1: hello world node app

This commit is contained in:
Dev
2026-11-04 12:28:44 +08:00
commit 7b10346296
4 changed files with 57 additions and 0 deletions

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM node:22-alpine
WORKDIR /app
COPY package.json ./
COPY index.js ./
ENV NODE_ENV=production
ENV PORT=3000
EXPOSE 3000
CMD ["node", "index.js"]