Add Dockerfile and update gitignore
This commit is contained in:
parent
e7580f98ce
commit
df7505d141
3
.gitignore
vendored
3
.gitignore
vendored
@ -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
11
Dockerfile
Normal 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" ]
|
||||
Loading…
Reference in New Issue
Block a user