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

keep dependencies

parent 09e60759
No related branches found
No related tags found
No related merge requests found
FROM python:3.7-alpine
RUN apk add --no-cache --virtual .build-deps gcc musl-dev \
&& pip install cython \
&& apk del .build-deps gcc musl-dev
RUN apk add --no-cache --virtual .build-deps gcc musl-dev
RUN pip install pipenv
COPY . /opt/SpotifyBackup
......@@ -11,4 +9,6 @@ WORKDIR /opt/SpotifyBackup
RUN pipenv install
RUN ln -s $(pipenv --venv) /opt/SpotifyBackup/mypipenv
RUN apk del .build-deps gcc musl-dev
CMD [ "/opt/SpotifyBackup/mypipenv/bin/python", "/opt/SpotifyBackup/SpotifyBackup.py" ]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment