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
commit 3852fefaff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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