cvt / Dockerfile
Reaperxxxx's picture
Create Dockerfile
680e7c5 verified
Raw
History Blame Contribute Delete
429 Bytes
# Base image with Node.js
FROM node:18
# Install ffmpeg
RUN apt-get update && \
apt-get install -y ffmpeg && \
rm -rf /var/lib/apt/lists/*
# Create app directory
WORKDIR /app
# Copy all files
COPY . .
# Set full permissions
RUN chmod -R 777 /app
# Install dependencies (no package.json, so specify manually)
RUN npm install express axios fluent-ffmpeg
# Expose port
EXPOSE 7860
# Run the app
CMD ["node", "app.js"]