build_develop / build (push) Successful in 21s
This reverts commit e1be3218b3.
23 lines
450 B
Docker
23 lines
450 B
Docker
FROM python:3.10.6-slim
|
|
|
|
# install dependencies
|
|
RUN apt-get update && apt-get -y upgrade && apt-get -y install git
|
|
|
|
RUN pip install --upgrade pip
|
|
|
|
WORKDIR /home
|
|
|
|
COPY requirements.txt requirements.txt
|
|
|
|
COPY config.py config.py
|
|
COPY main.py main.py
|
|
COPY utils.py utils.py
|
|
|
|
COPY bot_messages bot_messages/
|
|
COPY classes classes/
|
|
COPY cogs cogs/
|
|
COPY database_setup database_setup/
|
|
|
|
RUN pip install -r requirements.txt
|
|
|
|
CMD ["python3", "-u", "./main.py"] |