-
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
4 changed files
with
8 additions
and
12 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,11 +1,8 @@ | ||
FROM nikolaik/python-nodejs:python3.11-nodejs20 AS builder | ||
FROM oven/bun:latest | ||
|
||
ENV NODE_WORKDIR /app | ||
WORKDIR $NODE_WORKDIR | ||
ENV WORKDIR /app | ||
WORKDIR $WORKDIR | ||
|
||
ADD . $NODE_WORKDIR | ||
ADD . $WORKDIR | ||
|
||
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - | ||
RUN apt-get update && apt-get install -y build-essential gcc wget git libvips && rm -rf /var/lib/apt/lists/* | ||
|
||
RUN npm install && npm install sharp@0.30.5 && npm install tdl-tdlib-addon --build-from-source | ||
RUN bun install |
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
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