Pepguy commited on
Commit
1650367
·
verified ·
1 Parent(s): ce9c49d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -6
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
- # FROM node:19
2
- FROM oven/bun:1.0
3
 
4
 
5
  # Install ffmpeg
@@ -16,13 +16,13 @@ WORKDIR /app
16
 
17
  # COPY --chown=user bun.lockb bun.lockb
18
  COPY --chown=user package.json package.json
19
- RUN bun install
20
 
21
 
22
 
23
  # Copy package files and install dependencies
24
  #COPY --chown=user package*.json ./
25
- #RUN npm install
26
 
27
  # Copy the rest of the application source
28
  COPY --chown=user . /app
@@ -31,6 +31,6 @@ COPY --chown=user . /app
31
  EXPOSE 7860
32
 
33
  # Run the Node.js application
34
- #CMD ["node", "app.js"]
35
 
36
- CMD ["bun", "app.js"]
 
1
+ FROM node:19
2
+ # FROM oven/bun:1.0
3
 
4
 
5
  # Install ffmpeg
 
16
 
17
  # COPY --chown=user bun.lockb bun.lockb
18
  COPY --chown=user package.json package.json
19
+ # RUN bun install
20
 
21
 
22
 
23
  # Copy package files and install dependencies
24
  #COPY --chown=user package*.json ./
25
+ RUN npm install
26
 
27
  # Copy the rest of the application source
28
  COPY --chown=user . /app
 
31
  EXPOSE 7860
32
 
33
  # Run the Node.js application
34
+ CMD ["node", "app.js"]
35
 
36
+ # CMD ["bun", "app.js"]