FROM python:3.11-alpine3.17 RUN adduser -h /opt/musicrate -D musicrate USER musicrate WORKDIR /opt/musicrate ENV PATH="$PATH:/opt/musicrate/.local/bin" RUN pip install --no-cache-dir gunicorn COPY requirements.txt ./ RUN pip install --no-cache-dir -r requirements.txt COPY . . RUN mkdir -p static EXPOSE 8000 ENTRYPOINT ["/opt/musicrate/entrypoint.sh"]