28 lines
505 B
Docker
28 lines
505 B
Docker
FROM python:3.11-slim
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends ffmpeg && \
|
|
apt-get clean && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY ./app.py ./
|
|
COPY ./utils ./utils
|
|
COPY ./frontend ./frontend
|
|
COPY ./routes ./routes
|
|
COPY ./requirements.txt ./
|
|
COPY ./zotify ./zotify
|
|
|
|
COPY ./entrypoint.sh ./
|
|
RUN chmod +x ./entrypoint.sh
|
|
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
EXPOSE 7070
|
|
|
|
RUN mkdir ./credentials
|
|
RUN mkdir ./downloads
|
|
|
|
CMD ["./entrypoint.sh"]
|