add server file
All checks were successful
Create and publish a Docker image 🚀 / build-and-push-image (push) Successful in 1m27s

This commit is contained in:
Smile Rex
2026-01-26 17:13:45 +03:00
parent 503bcaddcc
commit fe2927be2e
4 changed files with 49 additions and 1 deletions

View File

@@ -8,5 +8,6 @@ RUN bun run build
FROM oven/bun:slim
WORKDIR /app
COPY --from=build /app/build ./build
COPY server.ts ./server.ts
EXPOSE 3000
CMD ["bunx", "serve", "build", "-l", "3000"]
CMD ["bun", "server.ts"]