Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
# Use official Node.js base image
|
2 |
FROM node:18
|
3 |
|
4 |
-
# Install FFmpeg and aria2
|
5 |
-
RUN apt-get update && apt-get install -y ffmpeg aria2 && rm -rf /var/lib/apt/lists/*
|
6 |
|
7 |
# Set working directory
|
8 |
WORKDIR /app
|
9 |
|
10 |
# Copy dependencies
|
11 |
-
COPY package.json ./
|
12 |
RUN npm install
|
13 |
|
14 |
# Copy project files
|
|
|
1 |
# Use official Node.js base image
|
2 |
FROM node:18
|
3 |
|
4 |
+
# Install FFmpeg and aria2
|
5 |
+
RUN apt-get update && apt-get install -y ffmpeg aria2 curl && rm -rf /var/lib/apt/lists/*
|
6 |
|
7 |
# Set working directory
|
8 |
WORKDIR /app
|
9 |
|
10 |
# Copy dependencies
|
11 |
+
COPY package.json package-lock.json ./
|
12 |
RUN npm install
|
13 |
|
14 |
# Copy project files
|