Skip to content

Instantly share code, notes, and snippets.

@f14a2cd
f14a2cd / tas.dockerfile
Last active February 24, 2020 04:11
TelegramApiServer docker
FROM ubuntu:latest AS base
RUN sed -i 's/archive.ub/ru.archive.ub/g' /etc/apt/sources.list
RUN apt-get update && apt install -f -y libssl-dev && apt-get install --assume-yes git
RUN git clone https://github.com/xtrime-ru/TelegramApiServer.git
WORKDIR /TelegramApiServer
FROM composer:latest AS build
COPY --from=base /TelegramApiServer /TelegramApiServer
WORKDIR /TelegramApiServer
RUN composer install -o --no-dev

Keybase proof

I hereby claim:

  • I am f14a2cd on github.
  • I am f14a2cd (https://keybase.io/f14a2cd) on keybase.
  • I have a public key ASDqnRSIv5EEfPEoSHTG5GXLx5SbnVA5I6mUbFih7t9Qwgo

To claim this, I am signing this object: