Add Dockerfile and update gitignore

This commit is contained in:
Cal Corum 2023-02-21 10:59:48 -06:00
parent e7580f98ce
commit df7505d141
2 changed files with 13 additions and 1 deletions

3
.gitignore vendored
View File

@ -56,4 +56,5 @@ pyvenv.cfg
major-domo-service-creds.json
get-monthly.py
team-rocket*
card-creation/
card-creation/
.dockerignore

11
Dockerfile Normal file
View File

@ -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" ]