Quick update for contribution and README

This commit is contained in:
Antoine Phan
2025-12-09 23:25:25 -05:00
parent bf2ca9e26a
commit 9e244e0237
5 changed files with 121 additions and 126 deletions

View File

@@ -1,11 +1,14 @@
# Using `bun` runtime: https://hub.docker.com/r/oven/bun/tags
FROM oven/bun:1 AS ecsess-website
# This is for development purposes only so you don't have to install bun locally
# Production build is generated by Vercel preview
FROM oven/bun:latest
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" ]
EXPOSE 5173
CMD ["bun", "run", "vite"]