Files
dakiny-bot/Dockerfile
T
imcompiling e1be3218b3
build_develop / build (push) Successful in 1m10s
Add expose to see if that fixes issue.
2024-05-15 20:40:31 -04:00

26 lines
496 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
# Expose to outside of container
EXPOSE 5000
CMD ["python3", "-u", "./main.py"]