add files for docker
This commit is contained in:
parent
29cba6e079
commit
d61c1d0f1b
7
Dockerfile
Normal file
7
Dockerfile
Normal 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
8
docker-compose.yml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
version: '3'
|
||||||
|
|
||||||
|
services:
|
||||||
|
maidbot:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
volumes:
|
||||||
|
- ./:/repo
|
Loading…
Reference in New Issue
Block a user