mirror of https://github.com/VERT-sh/VERT.git
fix(docker): allow build stage to access commit hash
This commit is contained in:
parent
a1b0b15332
commit
c276492ef3
|
|
@ -1,5 +1,4 @@
|
||||||
node_modules/
|
node_modules/
|
||||||
.git/
|
|
||||||
build/
|
build/
|
||||||
dist/
|
dist/
|
||||||
.svelte-kit/
|
.svelte-kit/
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,10 @@ ENV PUB_STRIPE_KEY=${PUB_STRIPE_KEY}
|
||||||
|
|
||||||
COPY package.json ./
|
COPY package.json ./
|
||||||
|
|
||||||
|
RUN apt-get update && \
|
||||||
|
apt-get install -y --no-install-recommends git && \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN bun install
|
RUN bun install
|
||||||
|
|
||||||
COPY . ./
|
COPY . ./
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue