Skip to content

Commit d0c6eb7

Browse files
committed
added rendering bits
1 parent cbcf831 commit d0c6eb7

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Diff for: ts/Dockerfile

+5-4
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,21 @@ 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=agent-shell --prod /prod/shell
1516
#RUN pnpm deploy --filter=cli --prod /prod/cli
1617

1718
FROM base AS api
19+
# environment file
1820
COPY --from=build /usr/src/app/.env /prod/api/
21+
# api bits
1922
COPY --from=build /prod/api /prod/api
23+
# rendering bits
24+
COPY --from=build /prod/shell /prod/shell
2025
WORKDIR /prod/api
2126

2227
RUN apt-get update
2328
RUN apt install -y gnome-keyring
2429

25-
#COPY ../shell/out/renderer /app/wwwroot
26-
#COPY --from=prod-deps /app/node_modules /app/node_modules
27-
#COPY --from=build /app/dist /app/dist
28-
2930
EXPOSE 80:3000
3031
EXPOSE 8080:3000
3132
EXPOSE 443:3443

0 commit comments

Comments
 (0)