21 lines
290 B
Text
21 lines
290 B
Text
|
FROM debian:10.5
|
||
|
|
||
|
MAINTAINER Paul Warren <pwarren@pwarren.id.au>
|
||
|
|
||
|
run apt-get update -y
|
||
|
run apt-get install -y python3-pip python3-dev
|
||
|
|
||
|
copy ./requirements.txt /requirements.txt
|
||
|
|
||
|
WORKDIR /
|
||
|
|
||
|
run pip3 install -r requirements.txt
|
||
|
|
||
|
|
||
|
copy ./app /app
|
||
|
|
||
|
ENTRYPOINT ["python3"]
|
||
|
|
||
|
CMD ["app/app.py"]
|
||
|
|