Skip to content

Commit

Permalink
added rendering bits
Browse files Browse the repository at this point in the history
  • Loading branch information
robgruen committed Nov 20, 2024
1 parent cbcf831 commit d0c6eb7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions ts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,21 @@ WORKDIR /usr/src/app
RUN pnpm install --frozen-lockfile
RUN pnpm run -r build
RUN pnpm deploy --filter=agent-api --prod /prod/api
RUN pnpm deploy --filter=agent-shell --prod /prod/shell
#RUN pnpm deploy --filter=cli --prod /prod/cli

FROM base AS api
# environment file
COPY --from=build /usr/src/app/.env /prod/api/
# api bits
COPY --from=build /prod/api /prod/api
# rendering bits
COPY --from=build /prod/shell /prod/shell
WORKDIR /prod/api

RUN apt-get update
RUN apt install -y gnome-keyring

#COPY ../shell/out/renderer /app/wwwroot
#COPY --from=prod-deps /app/node_modules /app/node_modules
#COPY --from=build /app/dist /app/dist

EXPOSE 80:3000
EXPOSE 8080:3000
EXPOSE 443:3443
Expand Down

0 comments on commit d0c6eb7

Please sign in to comment.