Skip to content

armgit / VERT

Public Imported from GitHub
0

The next-generation file converter. Open source, fully local* and free forever.

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

azurejellyc276492ef3ed
diff --git a/.dockerignore b/.dockerignore
index fd73510..b38a524 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -1,5 +1,4 @@
node_modules/
-.git/
build/
dist/
.svelte-kit/
diff --git a/Dockerfile b/Dockerfile
index d9f48e1..1da1b70 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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 . ./