Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
chelnak committed Nov 15, 2022
1 parent f90bf39 commit 0fc800e
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
FROM python:3.7.4-alpine3.10
FROM python:3.10-alpine

ADD exporter exporter/
ADD requirements.txt exporter/requirements.txt

WORKDIR exporter

RUN pip install -r requirements.txt
COPY dist/ /tmp/
RUN pip install --no-cache-dir /tmp/status_cake_exporter*.whl

EXPOSE 8000

CMD ["python", "app.py"]
ENTRYPOINT ["status-cake-exporter"]

0 comments on commit 0fc800e

Please sign in to comment.