blog/Dockerfile

9 lines
195 B
Docker

FROM oven/bun:1 AS bas
WORKDIR /usr/src/blog
FROM bas AS install
RUN mkdir -p /temp/prod
COPY package.json bun.lockb /temp/prod/
RUN cd /temp/prod && bun install --frozen-lockfile --production