added docker support
This commit is contained in:
parent
0f0d2a520d
commit
f002122010
2
.dockerignore
Normal file
2
.dockerignore
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
.git
|
||||||
|
**/node_modules
|
14
Dockerfile
Normal file
14
Dockerfile
Normal 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"]
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user