Skip to content

Commit

Permalink
Fixed CD
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtisassad committed Sep 30, 2024
1 parent bafa138 commit 462375f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile.commonwealth_base
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,21 @@ ENV NODE_ENV=production
COPY --from=build /prod/commonwealth /prod/commonwealth
WORKDIR /prod/commonwealth
COPY ./scripts/datadog-entrypoint.sh /prod/commonwealth
RUN chmod +x /prod/commonwealth/datadog-entrypoint.sh
ENV PORT=$PORT

FROM base AS snapshot-listener
ENV NODE_ENV=production
COPY --from=build /prod/snapshot-listener /prod/snapshot-listener
WORKDIR /prod/snapshot-listener
COPY ./scripts/datadog-entrypoint.sh /prod/snapshot-listener
RUN chmod +x /prod/commonwealth/datadog-entrypoint.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/commonwealth/datadog-entrypoint.sh
ENV PORT=$PORT

0 comments on commit 462375f

Please sign in to comment.