phanquocdat123's picture
Update Dockerfile
5095630 verified
Raw History Blame Contribute Delete
202 Bytes
FROM node:20-slim
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
# Ép ứng dụng Node.js chạy trên cổng 7860 của Hugging Face
ENV PORT=7860
EXPOSE 7860
CMD ["node", "server.js"]