enzostvs HF staff commited on
Commit
b6b9398
β€’
1 Parent(s): 071a7ae

update dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -7
Dockerfile CHANGED
@@ -1,10 +1,8 @@
1
  # Dockerfile
2
  # Use an official Node.js runtime as the base image
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,10 +12,6 @@ COPY --chown=1000 package.json package-lock.json ./
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 . .
23
  RUN chmod +x entrypoint.sh
 
1
  # Dockerfile
2
  # Use an official Node.js runtime as the base image
3
+ FROM node:18
4
  USER 1000
5
 
 
 
6
  # Set the working directory in the container
7
  WORKDIR /usr/src/app
8
 
 
12
  # Install dependencies
13
  RUN npm install
14
 
 
 
 
 
15
  # Copy the rest of the application files to the container
16
  COPY --chown=1000 . .
17
  RUN chmod +x entrypoint.sh