Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

chore(docker): add base_path to build args

Zhigang Fang3d9951661cd1
diff --git a/Dockerfile b/Dockerfile
index 31ea0054d..7d0865464 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,8 @@
# Build image
FROM node:12.18-alpine AS build
+ARG BASE_PATH
ARG DATABASE_TYPE
+ENV BASE_PATH=$BASE_PATH
ENV DATABASE_URL "postgresql://umami:umami@db:5432/umami" \
DATABASE_TYPE=$DATABASE_TYPE
WORKDIR /build