diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..62716b8 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,19 @@ +# base image for python +FROM python:3.10-alpine3.16 + +# # set working directory +# WORKDIR /app + +# set the required dependencies +COPY requirements.txt requirements.txt +COPY requirements-dev.txt requirements-dev.txt + +# install dependencies +RUN pip install -r requirements.txt +RUN pip install -r requirements-dev.txt + +# copy the content of the local src directory to the working directory +COPY . . + +# run the command to start the bot +CMD [ "python3", "-m", "bot"] diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..115a190 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,7 @@ +version: "3" + +services: + gongo: + container_name: gongo + build: . + image: python:3.10-alpine3.16