Start dockerfile deployment code

This commit is contained in:
Dave Smith-Hayes 2024-07-03 22:24:36 -04:00
parent d49cf2cc98
commit 5167fc6ad5

8
Dockerfile Normal file
View File

@ -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