Add dockerfile
This commit is contained in:
parent
80480620fa
commit
9f5d53513f
1 changed files with 12 additions and 0 deletions
12
Dockerfile
Normal file
12
Dockerfile
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
FROM python:3
|
||||||
|
|
||||||
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
COPY requirements.txt ./
|
||||||
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
RUN pip install --no-cache-dir /usr/src/app/
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
# CMD [ "python", "./your-daemon-or-script.py" ]
|
||||||
|
CMD [ "sh" ]
|
Loading…
Reference in a new issue