Pepguy commited on
Commit
8f0ad35
·
verified ·
1 Parent(s): 520232f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -7
Dockerfile CHANGED
@@ -15,14 +15,14 @@ ENV PATH="/home/user/.local/bin:$PATH"
15
  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
@@ -33,6 +33,6 @@ EXPOSE 8000
33
  EXPOSE 8080
34
 
35
  # Run the Node.js application
36
- # CMD ["node", "app.js"]
37
 
38
- CMD ["bun", "app.js"]
 
15
  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
 
33
  EXPOSE 8080
34
 
35
  # Run the Node.js application
36
+ CMD ["node", "app.js"]
37
 
38
+ #CMD ["bun", "app.js"]