fix(docker): allow build stage to access commit hash

This commit is contained in:
azurejelly
2025-11-24 05:01:44 -05:00
parent a1b0b15332
commit c276492ef3
2 changed files with 4 additions and 1 deletions

View File

@@ -1,5 +1,4 @@
node_modules/
.git/
build/
dist/
.svelte-kit/

View File

@@ -20,6 +20,10 @@ ENV PUB_STRIPE_KEY=${PUB_STRIPE_KEY}
COPY package.json ./
RUN apt-get update && \
apt-get install -y --no-install-recommends git && \
rm -rf /var/lib/apt/lists/*
RUN bun install
COPY . ./