Skip to content
Snippets Groups Projects
Commit f0211e01 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

use only TheCodeLabs-BaseUtils (no gevent dependency) + resetted Dockerfile

parent 7bcd26d2
Branches
Tags
No related merge requests found
FROM python:3.7-alpine FROM python:3.7-alpine
RUN apk add --no-cache --virtual .build-deps gcc musl-dev libffi-dev py3-gevent
RUN pip install pipenv RUN pip install pipenv
COPY . /opt/SpotifyBackup COPY . /opt/SpotifyBackup
...@@ -9,6 +7,4 @@ WORKDIR /opt/SpotifyBackup ...@@ -9,6 +7,4 @@ WORKDIR /opt/SpotifyBackup
RUN pipenv install RUN pipenv install
RUN ln -s $(pipenv --venv) /opt/SpotifyBackup/mypipenv RUN ln -s $(pipenv --venv) /opt/SpotifyBackup/mypipenv
RUN apk del .build-deps gcc musl-dev libffi-dev py3-gevent
CMD [ "/opt/SpotifyBackup/mypipenv/bin/python", "/opt/SpotifyBackup/SpotifyBackup.py" ] CMD [ "/opt/SpotifyBackup/mypipenv/bin/python", "/opt/SpotifyBackup/SpotifyBackup.py" ]
\ No newline at end of file
...@@ -13,6 +13,6 @@ python_version = "3.7" ...@@ -13,6 +13,6 @@ python_version = "3.7"
[packages] [packages]
spotipy = "==2.10.0" spotipy = "==2.10.0"
PythonLibs = "==1.0.0" TheCodeLabs-BaseUtils = "==1.0.0"
[dev-packages] [dev-packages]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment