/
githubmirror
/
cheat.sh
Обзор
Документация
Войти
/
githubmirror
/
cheat.sh
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Dockerfile
21 строка
751 B
Anatoli Babenia
Dockerfile: explain where cheat sheets are fetched
23 дек 2025, 21:48
Не верифицирован
23 дек 2025, 21:48
031a5d3
Код
Авторство
О чём код?
FROM alpine:3.14 # fetching cheat sheets ## installing dependencies RUN apk add --update --no-cache git py3-six py3-pygments py3-yaml py3-gevent \ libstdc++ py3-colorama py3-requests py3-icu py3-redis sed ## copying WORKDIR /app COPY . /app ## building missing python packages RUN apk add --no-cache --virtual build-deps py3-pip g++ python3-dev libffi-dev \ && pip3 install --no-cache-dir --upgrade pygments \ && pip3 install --no-cache-dir -r requirements.txt \ && apk del build-deps ## fetching cheat sheets RUN mkdir -p /root/.cheat.sh/log/ \ && python3 lib/fetch.py fetch-all # installing server dependencies RUN apk add --update --no-cache py3-jinja2 py3-flask bash gawk ENTRYPOINT ["python3", "-u", "bin/srv.py"] CMD [""]