Merge pull request #5 from johndoe6345789/claude/fix-docker-env-file-pqumH

Fix Dockerfile to copy all files and build Next.js app
This commit is contained in:
2026-01-26 05:07:13 +00:00
committed by GitHub

View File

@@ -1,7 +1,8 @@
FROM node
WORKDIR /app
COPY * /app/
COPY . /app/
RUN npm i
RUN npm run build
RUN chmod +x /app/entrypoint.sh
ENTRYPOINT ["/app/entrypoint.sh"]
CMD ["node", "server.js"]
CMD ["npm", "start"]