unicheckbot/apps/Dockerfile-tgbot

12 lines
293 B
Plaintext
Raw Normal View History

2021-06-03 00:06:52 +03:00
FROM python:3.9.4-slim-buster
2021-01-05 23:51:09 +03:00
WORKDIR /usr/src/app
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
2021-06-03 00:06:52 +03:00
RUN apt update && apt install gcc -y
2021-01-05 23:51:09 +03:00
COPY . .
WORKDIR tgbot
2021-01-05 23:51:09 +03:00
RUN pip install --upgrade pip; pip install poetry; poetry config virtualenvs.create false; poetry install
2021-02-21 13:14:55 +03:00
CMD poetry run tgbot