add files for docker

This commit is contained in:
falsycat 2023-02-12 02:14:53 +09:00
parent 29cba6e079
commit d61c1d0f1b
2 changed files with 15 additions and 0 deletions

7
Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM python:3-alpine
WORKDIR /repo
ADD requirements.txt /repo
RUN pip3 install -r requirements.txt
CMD ["python3", "main.py"]

8
docker-compose.yml Normal file
View File

@ -0,0 +1,8 @@
version: '3'
services:
maidbot:
build:
context: .
volumes:
- ./:/repo