cowrite / Dockerfile
lvwerra's picture
lvwerra HF Staff
Upload folder using huggingface_hub
99a44ac verified
Raw
History Blame Contribute Delete
261 Bytes
FROM node:22-slim
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci --no-audit --no-fund
COPY . .
RUN npm run build
ENV PORT=7860
ENV DATA_DIR=/app-data
RUN mkdir -p /app-data && chmod 777 /app-data
EXPOSE 7860
CMD ["node", "server/index.js"]