Spaces:
Running
Running
Commit ·
788d228
1
Parent(s): f1da626
add app port
Browse filesFiles changed (3)
- Dockerfile+8-8
- README.md+1
- bun.lockbDeleted
12345678910111213141516171819202122FROM oven/bun:1 AS buildWORKDIR /appCOPY . .RUN bun installRUN bun run buildFROM oven/bun:1-slim AS runWORKDIR /appCOPY --from=build /app/package.json .COPY --from=build /app/bun.lockb .COPY --from=build /app/build ./buildRUN bun installUSER bunEXPOSE 3000CMD ["bun", "./build/index.js"]12345678910111213141516171819202122FROM node:20-alpine AS buildWORKDIR /appCOPY . .RUN npm ciRUN npm run buildFROM node:20-alpine AS runWORKDIR /appCOPY --from=build /app/package.json .COPY --from=build /app/package-lock.json .COPY --from=build /app/build ./buildRUN npm ci --productionUSER nodeEXPOSE 3000CMD ["node", "./build/index.js"]
4 unmodified lines56789104 unmodified linescolorTo: greensdk: dockerpinned: true---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference4 unmodified lines5678910114 unmodified linescolorTo: greensdk: dockerpinned: trueapp_port: 3000---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
Dockerfile+8-8
README.md+1
bun.lockbDeleted