Dockerfile 531 B

1234567891011121314151617181920
  1. FROM python:3.8-slim as python-base
  2. ENV DOCKER=true
  3. ENV GIT_PYTHON_REFRESH=quiet
  4. ENV PIP_NO_CACHE_DIR=1 \
  5. PYTHONUNBUFFERED=1 \
  6. PYTHONDONTWRITEBYTECODE=1
  7. RUN apt update && apt install libcairo2 git build-essential -y --no-install-recommends
  8. RUN rm -rf /var/lib/apt/lists /var/cache/apt/archives /tmp/*
  9. RUN git clone https://github.com/hikariatama/Hikka /Hikka
  10. WORKDIR /Hikka
  11. RUN pip install --no-warn-script-location --no-cache-dir -r requirements.txt
  12. EXPOSE 8080
  13. RUN mkdir /data
  14. CMD python -m hikka