added docker support

This commit is contained in:
n 2025-05-03 04:07:12 +01:00
parent 0f0d2a520d
commit f002122010
2 changed files with 16 additions and 0 deletions

2
.dockerignore Normal file
View File

@ -0,0 +1,2 @@
.git
**/node_modules

14
Dockerfile Normal file
View File

@ -0,0 +1,14 @@
FROM oven/bun:1
WORKDIR /app
# install deps (cached layer)
COPY package.json bun.lockb ./
RUN bun install --frozen-lockfile
# project files
COPY . .
# vite dev server
EXPOSE 5173
CMD ["bun", "x", "vite", "dev", "--host"]