Skip to content

Commit

Permalink
balaaeh
Browse files Browse the repository at this point in the history
  • Loading branch information
athphane committed Oct 4, 2023
1 parent ca1ed40 commit 84d19da
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# Stage 1: Build
FROM python:3.11.5-slim-bullseye AS build

LABEL org.opencontainers.image.source https://github.com/athphane/userbot
LABEL org.opencontainers.image.description "Telegram Userbot Container Image"
LABEL org.opencontainers.image.licenses GPL-3.0


WORKDIR /root/userbot

Expand All @@ -22,6 +20,10 @@ RUN --mount=type=cache,target=/var/cache/apt \
# Stage 2: Run
FROM python:3.11.5-slim-bullseye

LABEL org.opencontainers.image.source https://github.com/athphane/userbot
LABEL org.opencontainers.image.description "Telegram Userbot Container Image"
LABEL org.opencontainers.image.licenses GPL-3.0

WORKDIR /root/userbot

COPY --from=build /root/userbot .
Expand Down

0 comments on commit 84d19da

Please sign in to comment.