DockerFile 342 B

1234567891011121314151617181920
  1. FROM python:3.10.12-alpine
  2. LABEL author="jam"
  3. USER root
  4. EXPOSE 80
  5. WORKDIR /app
  6. COPY ./biliAudio/ /app
  7. COPY requirements.txt .
  8. RUN pip3 install --no-cache-dir -r requirements.txt \
  9. && apk update \
  10. && apk add --no-cache bash \
  11. && apk add --no-cache ffmpeg \
  12. && cd /app/biliAudio
  13. CMD ["python","manage.py","runserver","0.0.0.0:80"]