diff --git a/deployment/docker/Dockerfile b/deployment/docker/Dockerfile index e4d0aba..6f939af 100644 --- a/deployment/docker/Dockerfile +++ b/deployment/docker/Dockerfile @@ -8,13 +8,13 @@ ENV MUSIC_FOLDER=${MUSIC_FOLDER_ARG} ENV MUSIC_OP=${MUSIC_OP_ARG} +RUN apt-get update \ + && apt-get -y install libpq-dev gcc \ + && pip install psycopg2 + + COPY requirements.txt / -RUN \ - apk add --no-cache postgresql-libs && \ - apk add --no-cache --virtual .build-deps gcc musl-dev postgresql-dev && \ - python3 -m pip install -r requirements.txt --no-cache-dir && \ - apk --purge del .build-deps - +RUN pip install -r requirements.txt COPY src/* / COPY start.sh / RUN chmod +x /start.sh