Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: dockerfile

d-bytebase488502679ce8
diff --git a/scripts/Dockerfile b/scripts/Dockerfile
index 16cb1f9b23..ae6f4bb40d 100644
--- a/scripts/Dockerfile
+++ b/scripts/Dockerfile
@@ -41,7 +41,7 @@ ARG RELEASE="release"
# Need gcc for CGO_ENABLED=1
RUN if [ "$TARGETARCH" = "arm64" ]; then \
- apt-get install -y gcc-aarch64-linux-gnu; \
+ apt-get update && apt-get install -y gcc-aarch64-linux-gnu; \
else \
apt-get install -y gcc ;\
fi
@@ -50,6 +50,11 @@ WORKDIR /backend-build
COPY . .
+# Copy frontend asset
+COPY --from=frontend /frontend-build/dist ./backend/server/dist
+
+COPY ./scripts/VERSION .
+
# -ldflags="-w -s" means omit DWARF symbol table and the symbol table and debug information
# go-sqlite3 requires CGO_ENABLED
RUN if [ "$TARGETARCH" = "arm64" ]; then \