openreader/Dockerfile
Richard Roberson 79d2e7f613 Working m4b
2025-02-25 19:47:30 -07:00

26 lines
No EOL
397 B
Docker

# Use Node.js slim image
FROM node:slim
# Add ffmpeg
RUN apt-get update && apt-get install -y ffmpeg
# Create app directory
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy project files
COPY . .
# Build the Next.js application
RUN npm run build
# Expose the port the app runs on
EXPOSE 3003
# Start the application
CMD ["npm", "start"]