Skip to content

Commit

Permalink
Bump sdk and other packages
Browse files Browse the repository at this point in the history
  • Loading branch information
chelnak committed Feb 25, 2024
1 parent 8a6a582 commit 2c37392
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 634 deletions.
10 changes: 10 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.github/
.vscode/
chart/
examples/
.gitignore
.editorconfig
.precommit-config.yaml
CHANGELOG.md
LICENSE
Makefile
17 changes: 12 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
FROM python:3.10-alpine
FROM python:3.10-alpine as build

COPY dist/ /tmp/
RUN pip install --no-cache-dir /tmp/status_cake_exporter*.whl
RUN pip install poetry

EXPOSE 8000
WORKDIR /build
COPY . .
RUN poetry install
RUN poetry build

ENTRYPOINT ["status-cake-exporter"]
FROM python:3.10-alpine
COPY --from=build /build/dist/*.whl /tmp/
RUN pip install --no-cache-dir /tmp/status_cake_exporter*.whl
RUN pip install -U python-dateutil
EXPOSE 8000
ENTRYPOINT ["status-cake-exporter"]
Loading

0 comments on commit 2c37392

Please sign in to comment.