diff --git a/Dockerfile b/Dockerfile index 9851318b178ce84d794d396204e4ac78f525bd0e..b81b6af534932b6452271a5f36ca8b8e9b788074 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN curl -sSL https://install.python-poetry.org | python - COPY . /opt/SpotifyBackup WORKDIR /opt/SpotifyBackup -RUN $HOME/.poetry/bin/poetry install --no-root +RUN /root/.local/bin/poetry install --no-root RUN ln -s $($HOME/.poetry/bin/poetry env info -p) /opt/SpotifyBackup/myvenv CMD [ "/opt/SpotifyBackup/myvenv/bin/python", "/opt/SpotifyBackup/SpotifyBackup.py" ] \ No newline at end of file