mirror of https://github.com/coddrago/Heroku
20 lines
531 B
Docker
20 lines
531 B
Docker
FROM python:3.8-slim as python-base
|
|
ENV DOCKER=true
|
|
ENV GIT_PYTHON_REFRESH=quiet
|
|
|
|
ENV PIP_NO_CACHE_DIR=1 \
|
|
PYTHONUNBUFFERED=1 \
|
|
PYTHONDONTWRITEBYTECODE=1
|
|
|
|
RUN apt update && apt install libcairo2 git build-essential -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
|
|
|
|
EXPOSE 8080
|
|
RUN mkdir /data
|
|
|
|
CMD python -m hikka
|