Files
dakiny-bot/Dockerfile
T
imcompiling ca0d27a929
build_latest / build (push) Successful in 1m47s
build_release / build (push) Successful in 23s
Update dockerfile image. Need python3.12
2024-05-24 14:19:17 -04:00

19 lines
504 B
Docker

FROM python:3.12.3-slim
# install dependencies
RUN apt-get update && apt-get -y upgrade && apt-get -y install git sqlite3
WORKDIR /home
COPY config.py config.py
COPY main.py main.py
COPY utils.py utils.py
COPY pyproject.toml pyproject.toml
COPY classes classes/
COPY cogs cogs/
COPY database_setup database_setup/
RUN pip install --upgrade pip && pip install poetry && poetry export -f requirements.txt --output requirements.txt && pip install -r requirements.txt
CMD ["python3", "-u", "./main.py"]