mirror of
https://github.com/catspace-dev/unicheckbot.git
synced 2024-11-22 05:46:33 +03:00
14 lines
360 B
Plaintext
14 lines
360 B
Plaintext
FROM python:3.8.3-alpine
|
|
|
|
WORKDIR /usr/src/app
|
|
ENV PYTHONDONTWRITEBYTECODE 1
|
|
ENV PYTHONUNBUFFERED 1
|
|
|
|
RUN apk update \
|
|
&& apk add gcc python3-dev musl-dev libffi-dev openssl-dev make cargo
|
|
|
|
COPY . .
|
|
WORKDIR tgbot/tgbot
|
|
RUN pip install --upgrade pip; pip install poetry; poetry config virtualenvs.create false; poetry install
|
|
CMD poetry shell; python bot.py
|