18 lines
307 B
Plaintext
18 lines
307 B
Plaintext
FROM alpine:latest
|
|
|
|
COPY . /usr/src/bot
|
|
WORKDIR /usr/src/bot
|
|
|
|
RUN apk update \
|
|
&& apk add \
|
|
build-base \
|
|
gcc \
|
|
musl-dev \
|
|
python3-dev \
|
|
py3-pip \
|
|
postgresql-dev
|
|
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
RUN sh ./utils/patch/aiogram-patch-loop.sh
|
|
CMD ["python3", "bot.py"]
|