From 5167fc6ad54b661b074ae1a6acacdc7a1bb4dd18 Mon Sep 17 00:00:00 2001 From: Dave Smith-Hayes Date: Wed, 3 Jul 2024 22:24:36 -0400 Subject: [PATCH] Start dockerfile deployment code --- Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Dockerfile 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 +