Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
Update to python3.7 and update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dr1s committed Oct 28, 2018
1 parent cb3d03f commit 123cbc4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 21 deletions.
12 changes: 1 addition & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
FROM alpine:3.8

RUN apk add --no-cache python3 && \
pip3 install --upgrade pip setuptools && \
pip3 install pipenv

WORKDIR /exporter
FROM dr1s/pipenv-alpine:3.8-python3.7

COPY emby_exporter/emby_exporter.py emby_exporter.py
COPY Pipfile Pipfile
COPY Pipfile.lock Pipfile.lock

RUN set -ex && pipenv install --deploy --system

EXPOSE 9123

Expand Down
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ EmbyPy = ">=0.4.3.2"
[dev-packages]

[requires]
python_version = "3.6"
python_version = "3.7"
11 changes: 2 additions & 9 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 123cbc4

Please sign in to comment.