video understanding
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
FROM node:20-alpine
|
||||
WORKDIR /app
|
||||
|
||||
# Install python3 and yt-dlp (no ffmpeg to save space)
|
||||
RUN apk add --no-cache python3 py3-pip && \
|
||||
pip3 install --break-system-packages yt-dlp
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
EXPOSE 80
|
||||
EXPOSE 3000
|
||||
CMD ["node", "server.js"]
|
||||
Reference in New Issue
Block a user