yt / Dockerfile
Rox-Turbo's picture
Update Dockerfile
4c3cdde verified
raw
history blame contribute delete
294 Bytes
FROM node:18
# Force cache bust
ARG CACHEBUST=1
WORKDIR /app
RUN apt-get update && apt-get install -y ffmpeg && rm -rf /var/lib/apt/lists/*
COPY package*.json ./
RUN npm ci --production
COPY server.js ./
COPY public ./public
RUN mkdir -p downloads
EXPOSE 7860
CMD ["node", "server.js"]