fix: docker not starting

This commit is contained in:
GitGitro 2024-11-24 22:07:01 +01:00
parent 69a4d928d0
commit 4e5f8b8741
1 changed files with 4 additions and 2 deletions

View File

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