From 4e5f8b8741252edd2690e1f9aa0c87a18a905028 Mon Sep 17 00:00:00 2001 From: GitGitro <108683123+GitGitro@users.noreply.github.com> Date: Sun, 24 Nov 2024 22:07:01 +0100 Subject: [PATCH] fix: docker not starting --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 48ae773..27e215f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,18 +2,20 @@ FROM oven/bun AS builder WORKDIR /app +ARG PUB_ENV ARG PUB_HOSTNAME ARG PUB_PLAUSIBLE_URL +ENV PUB_ENV=${PUB_ENV} ENV PUB_HOSTNAME=${PUB_HOSTNAME} ENV PUB_PLAUSIBLE_URL=${PUB_PLAUSIBLE_URL} COPY package.json ./ -RUN bun install - COPY . ./ +RUN bun install + RUN bun run build FROM oven/bun:alpine