Hexo-Async-Offends/Dockerfile-hexo-async-offends
2024-07-19 15:46:07 +08:00

14 lines
327 B
Plaintext

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