blog/Dockerfile

15 lines
228 B
Docker
Raw Permalink Normal View History

# tag it as build
FROM oven/bun AS build
WORKDIR /app
2024-07-04 02:24:36 +00:00
COPY bun.lockb .
COPY package.json .
COPY tsconfig.json .
2024-07-04 02:24:36 +00:00
RUN bun install --frozen-lockfile
COPY ./src ./src
COPY ./posts ./posts
USER bun
CMD [ "bun", "src/index.tsx" ]