surl-front/Dockerfile

6 lines
180 B
Docker
Raw 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 \
&& apk add --no-cache nginx
2024-08-16 11:53:48 +08:00
CMD ["nginx", "-g", "daemon off;"]