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:
11
Dockerfile
Normal file
11
Dockerfile
Normal 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" ]
|
||||
Reference in New Issue
Block a user