Hexo-Async-Offends/Dockerfile-hexo-async-offends

14 lines
327 B
Plaintext
Raw Normal View History

2024-07-19 07:46:07 +00:00
ARG IMAGENAME
FROM ${IMAGENAME}
# 开启国内加速
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories \
&& apk update
COPY . /app/* /app/
RUN apk update && apk add --no-cache --virtual .build-deps curl bash git \
&& bash /app/init.sh \
&& rm -rf /app \
&& apk del .build-deps