config split
This commit is contained in:
@@ -28,9 +28,10 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
|
||||
-o /out/notification .
|
||||
|
||||
FROM alpine:latest AS runtime
|
||||
ARG APP_CONFIG_PATH=api/notification/config.yml
|
||||
RUN apk add --no-cache ca-certificates tzdata wget
|
||||
WORKDIR /app
|
||||
COPY api/notification/config.yml /app/config.yml
|
||||
COPY ${APP_CONFIG_PATH} /app/config.yml
|
||||
COPY api/notification/i18n /app/i18n
|
||||
COPY api/notification/env /app/env
|
||||
COPY api/pkg/auth/internal/casbin/models/auth.conf /app/env/permissions_model.conf
|
||||
|
||||
Reference in New Issue
Block a user