gionuibk commited on
Commit
e404eb5
·
verified ·
1 Parent(s): 8f6451f

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -25,7 +25,6 @@ RUN test -f package.json && test -f package-lock.json
25
 
26
  # Copy the source files
27
  COPY . .
28
- COPY --from=build /app/src/gui/dist ./src/gui/dist
29
 
30
  # Install mocha
31
  RUN npm i -g npm@latest
@@ -69,9 +68,10 @@ RUN mkdir -p /opt/puter/app
69
  WORKDIR /opt/puter/app
70
 
71
  # Copy built artifacts and necessary files from the build stage
72
- # Removed original COPY instruction
73
  COPY --from=build /app/node_modules ./node_modules
74
  COPY . .
 
75
  COPY --from=build /app/src/gui/dist ./src/gui/dist
76
 
77
  # Set permissions
 
25
 
26
  # Copy the source files
27
  COPY . .
 
28
 
29
  # Install mocha
30
  RUN npm i -g npm@latest
 
68
  WORKDIR /opt/puter/app
69
 
70
  # Copy built artifacts and necessary files from the build stage
71
+ # Original dist copy removed
72
  COPY --from=build /app/node_modules ./node_modules
73
  COPY . .
74
+ # Copy GUI assets to the correct location AFTER source copy to prevent overwrite
75
  COPY --from=build /app/src/gui/dist ./src/gui/dist
76
 
77
  # Set permissions