From 6c7c804b0e2c1ea064e013d52449e5ca058f6315 Mon Sep 17 00:00:00 2001 From: Jan Wijffels Date: Thu, 22 Feb 2024 14:17:15 +0100 Subject: [PATCH] allow prefect key/workspace as environment variables --- anonimisation/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/anonimisation/Dockerfile b/anonimisation/Dockerfile index e56fcca..5408cde 100644 --- a/anonimisation/Dockerfile +++ b/anonimisation/Dockerfile @@ -70,7 +70,9 @@ ENV BLACKBAR_DB_PASSWORD="provide-supersecret-password" ## # Login + indicate under which workspace this project is run ARG PREFECT_API_KEY="provide-prefect-api-key" +ENV PREFECT_API_KEY=${PREFECT_API_KEY} ARG PREFECT_WORKSPACE="blackbar/data-flows" +ENV PREFECT_WORKSPACE=${PREFECT_WORKSPACE} ENV PREFECT_WORKQUEUE="blackbar-test" #RUN echo 'cloud' | prefect cloud login --key ${PREFECT_API_KEY} --workspace ${PREFECT_WORKSPACE}