replace-bot/dockerfile

18 lines
319 B
Plaintext
Raw Normal View History

2022-02-16 18:13:44 +03:00
FROM alpine:latest
COPY . /usr/src/bot
WORKDIR /usr/src/bot
RUN apk update \
&& apk add \
build-base \
2022-10-12 23:45:58 +03:00
gcc git openssh \
2022-02-16 18:13:44 +03:00
musl-dev \
python3-dev \
py3-pip \
postgresql-dev
RUN pip install --no-cache-dir -r requirements.txt
2022-10-12 22:54:44 +03:00
RUN sh ./utils/patch/aiogram-patch-loop.sh
2022-02-16 18:13:44 +03:00
CMD ["python3", "bot.py"]