surl-front/Dockerfile

7 lines
213 B
Docker

FROM alpine:latest
RUN sed -i 's@dl-cdn.alpinelinux.org@mirrors.tuna.tsinghua.edu.cn@g' /etc/apk/repositories \
&& apk add --no-cache nginx \
&& apk add --no-cache curl
CMD ["nginx", "-g", "daemon off;"]