mirror of
https://github.com/Anduin2017/HowToCook.git
synced 2025-12-17 18:54:26 +08:00
chore: Update Dockerfile to remove sudo from fc-cache command
This commit is contained in:
@@ -16,7 +16,7 @@ RUN wget https://gitlab.aiursoft.cn/anduin/anduinos/-/raw/master/Config/fonts.co
|
|||||||
RUN wget -P /tmp https://gitlab.aiursoft.cn/anduin/anduinos/-/raw/master/Assets/fonts.zip
|
RUN wget -P /tmp https://gitlab.aiursoft.cn/anduin/anduinos/-/raw/master/Assets/fonts.zip
|
||||||
RUN unzip -o /tmp/fonts.zip -d /usr/share/fonts/
|
RUN unzip -o /tmp/fonts.zip -d /usr/share/fonts/
|
||||||
RUN rm -f /tmp/fonts.zip
|
RUN rm -f /tmp/fonts.zip
|
||||||
RUN sudo fc-cache -fv
|
RUN fc-cache -fv
|
||||||
|
|
||||||
RUN mkdocs build
|
RUN mkdocs build
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user