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