Skip to content

Commit cd9f512

Browse files
committed
Update example
1 parent 032ca71 commit cd9f512

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

example/aidbox-project/Dockerfile

+5-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ RUN /app/entrypoint.sh export --output /output/seeds.ndjson.gz
77

88
FROM eclipse-temurin:17 AS builder
99

10-
RUN apt-get update && apt-get install -y git
10+
RUN apt-get update && apt-get install -y git unzip
1111

1212
RUN mkdir /opt/zen
1313
RUN wget -O /opt/zen/zen.jar https://github.com/HealthSamurai/ftr/releases/latest/download/zen.jar
@@ -27,7 +27,9 @@ RUN cd /opt/app && java -jar /opt/zen/zen.jar zen build zenproject zen-package
2727

2828
RUN ls -lah /opt/app/zenproject
2929

30-
FROM healthsamurai/aidboxone:stable
30+
RUN mkdir /build
31+
RUN unzip /opt/app/zenproject/zen-package.zip -d /build/aidbox-project
3132

32-
COPY --from=builder /opt/app/zenproject/zen-package.zip /aidbox-project/zen-package.zip
33+
FROM healthsamurai/aidboxone:stable
3334

35+
COPY --from=builder /build/aidbox-project /aidbox-project

example/env/aidbox

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1+
AIDBOX_ZEN_PATHS=path:package-dir:/aidbox-project
2+
AIDBOX_ZEN_ENTRYPOINT=main/box
13
BOX_PROJECT_GIT_TARGET__PATH=/aidbox-project
2-
34
AIDBOX_ZEN_DEV_MODE=true
4-
AIDBOX_ZEN_ENTRYPOINT=main/box
55
AIDBOX_DEV_MODE=true
6-
AIDBOX_ZEN_PROJECT=/aidbox-project
76

87
AIDBOX_CLIENT_ID=root
98
AIDBOX_CLIENT_SECRET=secret
@@ -26,4 +25,5 @@ BOX_FEATURES_FTR_PULL_ENABLE=false
2625
AIDBOX_SDC_ENABLED=false
2726

2827
AIDBOX_STDOUT_PRETTY=all
28+
box_features_mapping_enable__access__control
2929

0 commit comments

Comments
 (0)