Add Dockerfile and fix deprecated call
This commit is contained in:
parent
ccb9181ac9
commit
e3fcfd34c7
2 changed files with 12 additions and 1 deletions
10
Dockerfile
Normal file
10
Dockerfile
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
FROM python:3
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY requirements.txt ./
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
CMD [ "python", "-u", "./main.py" ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue