diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..55971b8 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +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 +