mirror of
https://github.com/catspace-dev/unicheckbot.git
synced 2024-11-25 07:13:44 +03:00
12 lines
293 B
Plaintext
12 lines
293 B
Plaintext
FROM python:3.9.4-slim-buster
|
|
|
|
WORKDIR /usr/src/app
|
|
ENV PYTHONDONTWRITEBYTECODE 1
|
|
ENV PYTHONUNBUFFERED 1
|
|
|
|
RUN apt update && apt install gcc -y
|
|
COPY . .
|
|
WORKDIR tgbot
|
|
RUN pip install --upgrade pip; pip install poetry; poetry config virtualenvs.create false; poetry install
|
|
CMD poetry run tgbot
|