Pepguy commited on
Commit
c0f246c
·
verified ·
1 Parent(s): e81cca9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -5
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
- FROM node:22.16.0
2
- # FROM oven/bun:1.0
3
 
4
 
5
  # Install ffmpeg
@@ -21,7 +21,8 @@ WORKDIR /app
21
 
22
 
23
  COPY --chown=user package*.json ./
24
- RUN npm install
 
25
 
26
  # Copy the rest of the application source
27
  COPY --chown=user . /app
@@ -32,6 +33,6 @@ EXPOSE 8000
32
  EXPOSE 8080
33
 
34
  # Run the Node.js application
35
- CMD ["node", "app.js"]
36
 
37
- #CMD ["bun", "app.js"]
 
1
+ #FROM node:22.16.0
2
+ FROM oven/bun:1.0
3
 
4
 
5
  # Install ffmpeg
 
21
 
22
 
23
  COPY --chown=user package*.json ./
24
+ #RUN npm install
25
+ RUN bun install
26
 
27
  # Copy the rest of the application source
28
  COPY --chown=user . /app
 
33
  EXPOSE 8080
34
 
35
  # Run the Node.js application
36
+ #CMD ["node", "app.js"]
37
 
38
+ CMD ["bun", "app.js"]