Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
update dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -3,6 +3,8 @@
|
|
3 |
FROM node:20-alpine
|
4 |
USER 1000
|
5 |
|
|
|
|
|
6 |
# Set the working directory in the container
|
7 |
WORKDIR /usr/src/app
|
8 |
|
@@ -12,9 +14,9 @@ COPY --chown=1000 package.json package-lock.json ./
|
|
12 |
# Install dependencies
|
13 |
RUN npm install
|
14 |
|
15 |
-
RUN apk add build-base gcompat udev chromium
|
16 |
|
17 |
-
RUN apk add --no-cache ffmpeg
|
18 |
|
19 |
# Copy the rest of the application files to the container
|
20 |
COPY --chown=1000 . .
|
|
|
3 |
FROM node:20-alpine
|
4 |
USER 1000
|
5 |
|
6 |
+
RUN apk update
|
7 |
+
|
8 |
# Set the working directory in the container
|
9 |
WORKDIR /usr/src/app
|
10 |
|
|
|
14 |
# Install dependencies
|
15 |
RUN npm install
|
16 |
|
17 |
+
# RUN apk add build-base gcompat udev chromium
|
18 |
|
19 |
+
# RUN apk add --no-cache ffmpeg
|
20 |
|
21 |
# Copy the rest of the application files to the container
|
22 |
COPY --chown=1000 . .
|