fix ports
All checks were successful
Create and publish a Docker image 🚀 / build-and-push-image (push) Successful in 1m19s

This commit is contained in:
Smile Rex
2026-01-26 18:37:23 +03:00
parent a407536ec6
commit 50ac188fa0
2 changed files with 1 additions and 18 deletions

View File

@@ -18,5 +18,5 @@ WORKDIR /app
RUN apk add --no-cache ca-certificates
COPY --from=server_builder /app/main ./main
COPY --from=server_builder /app/build ./build
EXPOSE 8181
EXPOSE 3000
CMD ["./main"]

View File

@@ -1,17 +0,0 @@
import { serve } from "bun";
serve({
port: 3000,
fetch(req) {
const url = new URL(req.url);
let path = url.pathname;
if (path === "/") path = "/index.html";
const file = Bun.file(`./build${path}`);
return new Response(file);
},
});
console.log("Frontend listening on :3000");