Update Dockerfile
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
FROM python:alpine
|
FROM python:alpine
|
||||||
RUN apk add --no-cache tini
|
RUN apk add --no-cache tini
|
||||||
|
|
||||||
ADD metrics.py /metrics.py
|
ADD metrics.py /app/metrics.py
|
||||||
ADD requirements.txt /requirements.txt
|
ADD requirements.txt /tmp/requirements.txt
|
||||||
RUN pip install -r /requirements.txt
|
RUN pip install -r /tmp/requirements.txt && \
|
||||||
|
rm -rf /tmp/requirements.txt
|
||||||
|
|
||||||
ENTRYPOINT ["/sbin/tini", "--"]
|
ENTRYPOINT ["/sbin/tini", "--"]
|
||||||
CMD ["python" , "/metrics.py"]
|
CMD ["python" , "/app/metrics.py"]
|
||||||
|
|||||||
Reference in New Issue
Block a user