vault-video-processor / Dockerfile
dvijaykrishnan's picture
fix: update Dockerfile paths for Hugging Face build
dd0a1bc
Raw
History Blame Contribute Delete
564 Bytes
FROM node:20-bullseye
# Install FFmpeg, Python3 (for yt-dlp), and yt-dlp
RUN apt-get update && apt-get install -y \
ffmpeg \
python3 \
python3-pip \
libvips-dev \
&& pip3 install --no-cache-dir -U yt-dlp \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Copy package files
COPY legacy_configs/fly/fly-server/package*.json ./
# Install dependencies
RUN npm install
# Copy server code
COPY legacy_configs/fly/fly-server/server.js ./
# Expose port (7860 is default for Hugging Face Spaces)
EXPOSE 7860
# Start server
CMD ["npm", "start"]