Dockerfile 457 B

12345678910111213
  1. FROM python:3.8-slim-buster as main
  2. ENV DOCKER=true
  3. ENV GIT_PYTHON_REFRESH=quiet
  4. ENV PIP_NO_CACHE_DIR=1
  5. RUN apt update && apt install libcairo2 git -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. EXPOSE 8080
  11. RUN mkdir /data
  12. CMD ["python3", "-m", "hikka"]