2024-06-12 21:36:53 +02:00
|
|
|
# syntax=docker/dockerfile:1
|
|
|
|
FROM python:3.12-alpine
|
|
|
|
|
|
|
|
WORKDIR /bot
|
|
|
|
|
2024-06-12 22:52:52 +02:00
|
|
|
RUN apk update && apk add python3-dev gcc libc-dev
|
|
|
|
|
2024-06-12 21:36:53 +02:00
|
|
|
COPY requirements.txt requirements.txt
|
|
|
|
RUN pip3 install -r requirements.txt
|
|
|
|
|
|
|
|
COPY . .
|
|
|
|
|
|
|
|
CMD ["python", "bot.py"]
|