Skip to content

Commit

Permalink
remove discord from commonwealth_base dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
timolegros committed Oct 8, 2024
1 parent c77d1cf commit 375b10d
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions Dockerfile.commonwealth_base
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ WORKDIR /usr/src/app
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
RUN pnpm run build

RUN pnpm -F discord-bot run build
RUN pnpm deploy -F discord-bot --prod /prod/discord-bot
RUN mv /usr/src/app/packages/discord-bot/build /prod/discord-bot/build

RUN pnpm -F snapshot-listener run build
RUN pnpm deploy -F snapshot-listener --prod /prod/snapshot-listener
RUN mv /usr/src/app/packages/snapshot-listener/build /prod/snapshot-listener/build
Expand All @@ -41,14 +37,4 @@ COPY ./scripts/datadog-entrypoint.sh /prod/snapshot-listener
RUN chmod +x /prod/snapshot-listener/datadog-entrypoint.sh
COPY ./scripts/get-max-old-space-size.sh /prod/snapshot-listener/scripts
RUN chmod +x /prod/snapshot-listener/scripts/get-max-old-space-size.sh
ENV PORT=$PORT

FROM base AS discord-bot
ENV NODE_ENV=production
COPY --from=build /prod/discord-bot /prod/discord-bot
WORKDIR /prod/discord-bot
COPY ./scripts/datadog-entrypoint.sh /prod/discord-bot
RUN chmod +x /prod/discord-bot/datadog-entrypoint.sh
COPY ./scripts/get-max-old-space-size.sh /prod/discord-bot/scripts
RUN chmod +x /prod/discord-bot/scripts/get-max-old-space-size.sh
ENV PORT=$PORT

0 comments on commit 375b10d

Please sign in to comment.