mahiatlinux commited on
Commit
bf74203
1 Parent(s): e5b23c5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -14
Dockerfile CHANGED
@@ -1,19 +1,8 @@
1
- # Use the official Ubuntu 20.04 LTS image as the base
2
- FROM ubuntu:20.04
3
-
4
- # Install dependencies
5
- RUN apt-get update && \
6
- apt-get install -y curl
7
-
8
- # Install Node.js
9
- RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - && \
10
- apt-get install -y nodejs
11
 
 
12
  RUN npm i --omit=dev --no-package-lock
13
  USER node
14
 
15
- COPY entrypoint.sh /entrypoint.sh
16
- RUN chmod +x /entrypoint.sh
17
-
18
  # Set the entry point script as the default command
19
- ENTRYPOINT ["/entrypoint.sh"]
 
1
+ FROM node:20
 
 
 
 
 
 
 
 
 
2
 
3
+ COPY . .
4
  RUN npm i --omit=dev --no-package-lock
5
  USER node
6
 
 
 
 
7
  # Set the entry point script as the default command
8
+ RUN npm start