gmokercom/Dockerfile

10 lines
209 B
Docker

FROM docker.io/oven/bun:1.1-slim AS build
WORKDIR /app/
COPY package.json bun.lockb .
RUN bun install
COPY src/ src/
COPY index.html vite.config.js .
RUN bun run build
EXPOSE 5173
CMD ["start", "--host", "0"]