Add Dockerfile

This commit is contained in:
Ben Roberts
2020-09-06 15:44:00 +01:00
parent 7f765f363a
commit 1b02045f6a

7
Dockerfile Normal file
View File

@@ -0,0 +1,7 @@
FROM python:3
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN python ./setup.py install --verbose
CMD ["energy-usage"]