chore(docker): add base_path to build args

This commit is contained in:
Zhigang Fang authored and GitHub committed 2021-05-08 19:48:51 +08:00
1 parent 5ecaf5587b
commit 3d9951661c
1 file changed
+2
+2
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