surl-front/Dockerfile

7 lines
213 B
Docker
Raw Permalink Normal View History

2024-08-15 10:49:02 +08:00
FROM alpine:latest
RUN sed -i 's@dl-cdn.alpinelinux.org@mirrors.tuna.tsinghua.edu.cn@g' /etc/apk/repositories \
2024-08-17 15:33:41 +08:00
&& apk add --no-cache nginx \
&& apk add --no-cache curl
2024-08-16 11:53:48 +08:00
CMD ["nginx", "-g", "daemon off;"]