-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,23 @@ | ||
FROM node:22 | ||
WORKDIR /app | ||
RUN corepack enable | ||
RUN apt-get update && apt-get install -y \ | ||
build-essential \ | ||
libcairo2-dev \ | ||
libpango1.0-dev \ | ||
libjpeg-dev \ | ||
libgif-dev \ | ||
librsvg2-dev \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
ENV PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig | ||
COPY . . | ||
WORKDIR /app/packages/Bot | ||
RUN pnpm install | ||
RUN pnpx prisma generate | ||
|
||
WORKDIR /app/apps/Website | ||
RUN pnpm link ../../packages/Server | ||
|
||
WORKDIR /app/packages/Bot | ||
RUN pnpm link ../Server | ||
RUN pnpm build | ||
COPY ./packages/Bot/.env /app/packages/Bot/.env.template |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters