Dynamic build and deployment on Vercel (#21)

* Make deployment doable on EUS and Vercel servers

* Revert to adapter-auto for now

* Remove `r/` layout file

* Fixing deployment configuration and landing page for redirects

* Clean up PR
This commit is contained in:
2025-06-18 22:09:00 -04:00
committed by GitHub
parent 60c63e3859
commit 4f982e7ce3
9 changed files with 68 additions and 60 deletions

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
# Using `bun` runtime: https://hub.docker.com/r/oven/bun/tags
FROM oven/bun:1 AS ecsess-website
WORKDIR /ecsess
COPY . /ecsess
RUN bun install
RUN bun run build
EXPOSE 4173/tcp
CMD ["bun", "run", "vite", "preview", "--host"]
# ENTRYPOINT [ "bun", "run", "vite", "preview", "--host" ]