Merge pull request #655 from zhigang1992/base_path

chore(docker): add base_path to build args
This commit is contained in:
Mike Cao
2021-05-12 19:29:05 -07:00
committed by GitHub

View File

@@ -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