diff --git a/.gitignore b/.gitignore index d3b570f..9c6a216 100644 --- a/.gitignore +++ b/.gitignore @@ -56,4 +56,5 @@ pyvenv.cfg major-domo-service-creds.json get-monthly.py team-rocket* -card-creation/ \ No newline at end of file +card-creation/ +.dockerignore \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b29c2a3 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM python:3.8-slim + +WORKDIR /usr/src/app + +RUN apt-get update && apt-get install -y git +COPY requirements.txt ./ +RUN pip install --no-cache-dir -r requirements.txt + +COPY . . + +CMD [ "python", "./majordomo.py" ] \ No newline at end of file