Add Dockerfile

This commit is contained in:
jimmy 2021-06-20 03:04:07 +00:00
parent 8346f25736
commit ef2abe0ad7
1 changed files with 11 additions and 0 deletions

11
Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM python:slim
RUN apt-get update && apt-get install -y git zip && pip install aiohttp b2sdk pytest && mkdir /files
RUN mkdir /root/.ssh
COPY src /src
COPY test /test
CMD [ "python", "/src/main.py"]