Add production Dockerfile

This commit is contained in:
Admin 2026-09-17 08:25:13 +00:00
parent 9ac5ae01b6
commit b2ef8101ef

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM node:22-alpine
WORKDIR /app
COPY package.json ./
RUN npm install --omit=dev
COPY server.js ./
ENV NODE_ENV=production
EXPOSE 3000
CMD ["node", "server.js"]