MYPRO / Dockerfile
DD8777's picture
Fix Hugging Face Space media playback pipeline (Content-Length, bounded Range fallback, CPU spaces compatibility)
7088e5d
Raw
History Blame Contribute Delete
268 Bytes
FROM node:20-slim
WORKDIR /app
# Copy package files and install dependencies
COPY package*.json ./
RUN npm install --omit=dev
# Copy application files
COPY . .
# Expose default Hugging Face Space port
EXPOSE 7860
ENV PORT=7860
# Start server
CMD ["npm", "start"]