Skip to content

Commit 5464941

Browse files
committed
added getkeys instead of using action supplied env file
1 parent 1063ccb commit 5464941

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ts/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ WORKDIR /usr/src/app
1212
RUN pnpm install --frozen-lockfile
1313
RUN pnpm run -r build
1414
RUN pnpm deploy --filter=agent-api --prod /prod/api
15+
RUN pnpm deploy --filter=tools-scripts --prod /prod/tools
1516
#RUN pnpm deploy --filter=cli --prod /prod/cli
1617

1718
FROM base AS api
18-
# environment file
19-
COPY --from=build /usr/src/app/.env /prod/api/
19+
## environment file
20+
#COPY --from=build /usr/src/app/.env /prod/api/
2021
# api bits
2122
COPY --from=build /prod/api/ /prod/api/
2223
# rendering bits
@@ -35,6 +36,7 @@ EXPOSE 80:3000
3536

3637
#setup start actions
3738
RUN echo az login --identity >> start.sh
39+
RUN echo node ../tools/scripts/getKeys.mjs >> start.sh
3840
RUN echo pnpm start >> start.sh
3941

4042
#azure login, then start node application

0 commit comments

Comments
 (0)