Okteto 627 B

1234567891011121314
  1. FROM python:3.8-slim-buster as main
  2. ENV OKTETO=true
  3. ENV GIT_PYTHON_REFRESH=quiet
  4. ENV PIP_NO_CACHE_DIR=1
  5. RUN apt update && apt install libcairo2 git ffmpeg libavcodec-dev libavutil-dev libavformat-dev libswscale-dev libavdevice-dev -y --no-install-recommends
  6. RUN rm -rf /var/lib/apt/lists /var/cache/apt/archives /tmp/*
  7. RUN git clone https://github.com/hikariatama/Hikka /Hikka
  8. WORKDIR /Hikka
  9. RUN pip install --no-warn-script-location --no-cache-dir -r requirements.txt
  10. RUN pip install --no-warn-script-location --no-cache-dir -r optional_requirements.txt
  11. EXPOSE 8080
  12. RUN mkdir /data
  13. CMD ["python3", "-m", "hikka"]