cors / Dockerfile
Rifd's picture
changed
6bc1af4
raw
history blame contribute delete
291 Bytes
FROM node:20-bullseye
WORKDIR /app
COPY package*.json ./
RUN npm install && \
wget -O /usr/local/bin/yt-dlp https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp && \
chmod a+rx /usr/local/bin/yt-dlp && \
hash -r
COPY . .
EXPOSE 3000
CMD ["node", "index.js"]