Skip to content

Commit

Permalink
added dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
robgruen committed Nov 19, 2024
1 parent f61f537 commit 63403da
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions ts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,14 @@ RUN pnpm run -r build
RUN pnpm deploy --filter=agent-api --prod /prod/api
#RUN pnpm deploy --filter=cli --prod /prod/cli


# COPY pnpm*.yaml /app/
# COPY packages/api/package.json /app/
# COPY packages/api /app/
# WORKDIR /app

# FROM base AS prod-deps
# RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod --no-frozen-lockfile

# FROM base AS build
# RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --no-frozen-lockfile
# RUN pnpm run build

FROM base AS api
COPY --from=build /usr/src/app/.env /prod/api/
COPY --from=build /prod/api /prod/api
WORKDIR /prod/api

RUN apt-get update
RUN sudo 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
Expand Down

0 comments on commit 63403da

Please sign in to comment.