Skip to content
Snippets Groups Projects
Dockerfile 382 B
Newer Older
  • Learn to ignore specific revisions
  • Robert Goldmann's avatar
    Robert Goldmann committed
    FROM python:3.7-alpine
    
    
    RUN apk add --no-cache --virtual .build-deps gcc musl-dev libffi-dev
    
    Robert Goldmann's avatar
    Robert Goldmann committed
    RUN pip install pipenv
    COPY . /opt/SpotifyBackup
    
    WORKDIR /opt/SpotifyBackup
    RUN pipenv install
    RUN ln -s $(pipenv --venv) /opt/SpotifyBackup/mypipenv
    
    
    RUN apk del .build-deps gcc musl-dev libffi-dev
    
    Robert Goldmann's avatar
    Robert Goldmann committed
    CMD [ "/opt/SpotifyBackup/mypipenv/bin/python", "/opt/SpotifyBackup/SpotifyBackup.py" ]