File size: 403 Bytes
86712fb a8c6738 86712fb cfc2e7f 86712fb | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | # Use an official Node.js image
FROM node:18
sgsgsue??/6
# Install FFmpeg
RUN apt-get update && \
apt-get install -y ffmpeg && \
rm -rf /var/lib/apt/lists/*
# Set the working directory
WORKDIR /app
RUN npm install express axios cors fluent-ffmpeg
# Copy the rest of the application
COPY . .
RUN chmod -R 777 /app
# Expose port 3000
EXPOSE 7860
# Start the server
CMD ["node", "server.js"] |