Skip to content

Commit a72f6be

Browse files
Rewrite in rust
Signed-off-by: Marek Maškarinec <marek@mrms.cz>
1 parent 0d9e000 commit a72f6be

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ COPY stuff/Inconsolata-Bold.otf /usr/share/fonts/truetype/inconsolata
1414

1515
RUN apt update && apt install -y file procps figlet fortune cowsay pslist inkscape imagemagick --no-install-recommends && rm -rf /var/lib/apt/lists/*
1616

17-
COPY *.deno.ts index.html tgbot.deno.ts ./
18-
RUN deno cache server.deno.ts
17+
COPY *.deno.ts index.html tgbot.deno.rs ./
18+
RUN deno cache server.deno.rs
1919
COPY static static
2020
COPY --from=blog-builder /srv/jekyll/build/ ./static/blog
2121

server.deno.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
handleTgWeb,
88
init as tgBotInit,
99
webhookPath as tgWebhookPath,
10-
} from "./tgbot.deno.ts";
10+
} from "./tgbot.deno.rs";
1111

1212
const indexContent = new TextDecoder().decode(
1313
await Deno.readFile("index.html"),
File renamed without changes.

0 commit comments

Comments
 (0)